Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a blacklist_name remote interface #81

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Quezler
Copy link

@Quezler Quezler commented Jul 22, 2020

hi,

this pull allows mods to blacklist their entity(s) from bottleneck, here's an example of a working control.lua:

local function bottleneck()
    if remote.interfaces["Bottleneck"] and remote.interfaces["Bottleneck"]["blacklist_name"] then
        remote.call("Bottleneck", "blacklist_name", "liquify2-liquifier")
    end
end

script.on_init(bottleneck);
script.on_load(bottleneck);

(i would really love it if you could merge this or provide the required functionality somehow ❤️)

@Quezler
Copy link
Author

Quezler commented Jul 23, 2020

apparently this somehow causes a desync when trying to run a multiplayer server with it 😶

@troelsbjerre
Copy link
Owner

It seems like a good interface to have. I hope to find some time to look at it soon.

@Nexela
Copy link
Contributor

Nexela commented Jul 23, 2020 via email

@Nexela
Copy link
Contributor

Nexela commented Jul 23, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants