Tori1157 submitted a new resource:
Sign Ban - Prevents users from updating signs.
Read more about this resource...
SignBan
Moved
Total Downloads: 143 - First Release: Dec 20, 2017 - Last Update: Jan 9, 2018
- 5/5, 2 likes
-
nice this will come in handy for those who abuse it
-
-
-
need to update to support zonemanager
(12:43:00) | Calling hook CanUpdateSign resulted in a conflict between the following plugins: SignBan - True (Boolean), ZoneManager (False (Boolean))
maybe try adding
[PluginReference] Plugin ZoneManager;
and
private bool CanUpdateSign(BasePlayer player, Signage sign)
{
if (plugins.Exists("ZoneManager") && (bool)ZoneManager.CallHook("EntityHasFlag", player, "nosignupdates") == true) return false;
i tested it out and it works for me. i no longer get the conflict.
to duplicate the issue i'm talking about, have a zone with nosignupdates and then try to /sil a locked or unlocked sign. -
I will look into implementing support for ZoneManager as soon as i get time -
-
does it stop /sil completely? make a black image or the sign just stays un-updated? when the user is banned.
-
However when updating the sign by drawing it updates client side, but not server side.