• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OpenMP/SAMP version of Jenkins EssentialsX Minercaft Plugin?
#4
This is what y_commands and y_groups has done for years. Never mind a single flag, or even excess code within a command:

PHP Code:
Group_SetCommandGlobal(YCMD:promote, false); // Disable this command for everyone. Group_SetCommand(gAdminGroup, YCMD:promote, true); // Enable it for admins.

No need for checking in the command at all, and a great deal more flexibility with that.

It doesn't actually read those permissions from a file currently, but doing so is trivial, since they are already dynamic.
  Reply


Messages In This Thread
RE: OpenMP/SAMP version of Jenkins EssentialsX Minercaft Plugin? - by Y_Less - 2019-04-23, 01:29 PM