CustomNpcs:

-Added ScriptOpsOnly config, which controls if only ops can see and edit scripts.
-Added ScriptDevs config, a list of the UUIDs of players who should be able to see and edit scripts. If left empty and ScriptOpsOnly is false, everyone can see and edit scripts with a scripter.

IPlayer:
-Added isScriptDev() function to check if the player can see and edit scripts.
This commit is contained in:
c0508383 committed 2022-07-07 16:22:50 -05:00
1 parent 5fdef1cd0c
commit 22e01bba1f
6 files changed
+72 -26

No files matched your search

@@ -236,6 +236,8 @@ public interface IPlayer<T extends EntityPlayerMP> extends IEntityLivingBase<T>
public IPlayerData getData();
boolean isScriptingDev();
IQuest[] getActiveQuests();
IContainer getOpenContainer();