elBukkit / PreciousStones

Self-service protection for Minecraft servers
http://dev.bukkit.org/server-mods/preciousstones/
10 stars 10 forks source link

Question about switchable flag setting #11

Closed Axer22 closed 4 years ago

Axer22 commented 4 years ago

Can I set default flag setting on false?

xtomyserrax commented 4 years ago

You mean toggeable flags? (the ones starting with ?). If you mean those ones Im not 100% sure, but I guess you should be able, I will check that

I found out that you cant make prevent-use list flag toggeable, at least I couldnt and its something I would like for people to change

Axer22 commented 4 years ago

Yes, I tried "?prevent-entry: false" but it isn't working.

xtomyserrax commented 4 years ago

Hmm let me check that and see if it can be fixed, ty!

xtomyserrax commented 4 years ago

So I wasnt understandting how flags work. Let me explain:

What does the false mean? It works exactly as removing the flag from the list, it means that the flag will be ignored.

Let me know if you understood it or have any other question, if not, close the issue please!

Took me some time to understand how the code was working, maybe the word "toggeable" for "?" flags leads to confussion.