mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 07:59:08 +00:00
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:
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();
|
||||
|
||||
Reference in new issue
Block a user