Skript Version:
Skript Author:
Minecraft Version:
---
Full Code:
Note: If the code is too large, feel free to use a pasting website (Pastebin or hastebin)
Note: If a variable is being set in another script, but not shown, please explain how they are being set
Errors on Reload:
Console Errors: (if applicable)
Other Useful Info:
Don't know how to do this but I want it so that if players have a permission it hides everyone but the people with the permission. So I will have a friend command soon and it will give them something like friend.%player% and so the permission that it will not hide players will be that. Also, can you update a chest gui without having to close it?
Addons using (including versions):
ADDONS HERE
Troubleshooting:
Have you tried searching the docs? Yes
Have you tried searching the forums? Yes
Skript Author:
Minecraft Version:
---
Full Code:
Note: If the code is too large, feel free to use a pasting website (Pastebin or hastebin)
Note: If a variable is being set in another script, but not shown, please explain how they are being set
code_language.skript:
function settingsSystem(p: player , t: number) :: number:
if {_t} is 1:
if {cubecraft.settings.pv.%{_p}%} is 2:
set {cubecraft.settings.pv.%{_p}%} to 1
hide all players from {_p}
else if {cubecraft.settings.pv.%{_p}%} is 1:
set {cubecraft.settings.pv.%{_p}%} to 3
hide all players from {_p}
else:
if {cubecraft.settings.pv.%{_p}%} is 3:
set {cubecraft.settings.pv.%{_p}%} to 2
reveal all players from {_p}
Errors on Reload:
code_language.skript:
None
Console Errors: (if applicable)
code_language.skript:
None
Other Useful Info:
Don't know how to do this but I want it so that if players have a permission it hides everyone but the people with the permission. So I will have a friend command soon and it will give them something like friend.%player% and so the permission that it will not hide players will be that. Also, can you update a chest gui without having to close it?
Addons using (including versions):
ADDONS HERE
Troubleshooting:
Have you tried searching the docs? Yes
Have you tried searching the forums? Yes
Last edited: