diff --git a/src/cn/citycraft/SimpleEssential/handler/teleport/TeleportControl.java b/src/cn/citycraft/SimpleEssential/handler/teleport/TeleportControl.java index a0c249d..d0120f4 100644 --- a/src/cn/citycraft/SimpleEssential/handler/teleport/TeleportControl.java +++ b/src/cn/citycraft/SimpleEssential/handler/teleport/TeleportControl.java @@ -23,7 +23,7 @@ public class TeleportControl { protected HashMap teleportList = new HashMap(); protected HashMap lastlocList = new HashMap(); private SimpleEssential plugin; - private int TpDelay = Config.getInstance().getInt("tpdelay", 3); + private int TpDelay = Config.getInstance().getInt("Teleport.delay", 3); public TeleportControl(SimpleEssential plugin) { this.plugin = plugin; diff --git a/src/config.yml b/src/config.yml index 08799c5..a712d86 100644 --- a/src/config.yml +++ b/src/config.yml @@ -4,6 +4,18 @@ version: 1.0 servername: '' #插件名称 pluginname: '&6[&b保护系统&6]&r' + +#基础传送系统 +Teleport: + #所有传送延时 + delay: 3 + + + + + + + #登陆提示 Tip: #是否开启