本帖最后由 1062447360 于 2017-7-30 13:53 编辑

介绍

此插件是sponge端专用。之前论坛也有人搬运过sponge的基础插件‘EssentialCmds’但是该插件bug很多,配置文件稀少,汉化困难,并且作者已经弃坑。

Nucleus可以根据每条指令单独设置冷却时间、花费费用、传送延迟等

Nucleus指令增加了很多,体积却少了一半,修复了很多bug,比如随机传送到边界卡住,/invsee指令远离玩家就失效等等。。。

而且此插件是外挂的语言包,一共四千多条,个人只汉化了1%不到,就是玩家常用的那几条。当然你也可以选择继续汉化,但是继续汉化的意义不大,而且有些条目汉化了之后插件会报错崩溃。




安装方法

确认你是sponge服务端,然后把它扔进服务器mods文件夹


指令
指令与ess略有区别,但是99%都相同

点击查看官方介绍

/tppos 坐标X.Y.Z                         -传送到坐标
/home [家的名字]                      - 传送到某个家

/sethome [家的名字]                 - 设置一个家   

/homes                           - 列出所有的家的信息

/delhome [家的名字]                 - 删除某个家   

/deletehome [家的名字]            - 删除某个家   

/heal                                         - 回复生命值   

/feed                                         - 回复饱食度  

/spawn                                      - 传送到出生点

/setspawn                                  - 设置出生点

/tpa [玩家名]                             - 给指定玩家发送一个传送到他那里去的申请

/tpaccept                                   - 接受最近的一个传送申请

/tpahere [玩家名]                      - 给指定玩家发送一个将他传送到你这里来那里去的申请

/tpadeny                                    - 拒绝最近的一个传送申请

/broadcast [公告内容]                - 全服公告

/tphere [玩家名]                         - 将指定玩家强行传送到你这里来

/warp set [地标] -设置地标

/warps [页面] -列出所有地

/warp [地标] - 传送至指定地

/delwarp - 删除指定地

/deletewarp - 删除指定地


/world - 主要的世界管理命令

/world setspawn - 给当前世界设置出生点

/world spawn - 回到当前世界的出生点

/world list [<pg no>] - 列出所有世界

/world teleport <world> [<player>] - 传送指定玩家到指定世界

/world setgamemode <gamemode> [world] - 设置某世界默认模式

权限

一千多条指令加着得累死,还好官方给了一个指令权限包
想给玩家基础权限就输入
/nucleus setupperms USER 【权限组名称】
但是没有back权限,需要额外加一条权限
nucleus.back.base
随机传送权限
nucleus.rtp.base

配置文件

配置文件目录:

config\nucleus


首先是

commands.con文件
该文件是更改每个指令的冷却时间、等待时间、花费金钱等。
【例子】:
指令:back {
    # 【该指令的别名,设置为false为关闭】The commands below are aliases of these commands. Set to false to disable them.
    aliases {
        return=true
    }
    # 【该指令的冷却时间,单位秒】Time, in seconds, that a player has to wait between uses of this command. Set to 0 to disable.
    cooldown=0
    # 【该指令所需花费金钱】Cost of a command that a player has to pay to use the command. The cost will only be deducted if successful. Set to 0 to disable.
    cost=0
    #【是否启用该指令,设置false禁用】 Sets whether a command is enabled.
    enabled=true
    # 【传送前的等待时间,单位秒】Time, in seconds, that a player has to wait without moving or using other commands before their command will execute. Set to 0 to disable.
    warmup=0

再者是main.conf文件
该文件是更改Nucleus的设置
也没啥需要改的就是要把spawn这个
on-respawn=false改为true
不然每次输入sponge都是回当前世界的spawn而不是主世界的spawn

spawn {
    # If true, then Nucleus will attempt to force players joining for the first time to spawn at the *direct point* that first spawn has been set.
    # Only set this if you want Nucleus to override all other plugins on first spawn.
    force-first-spawn=false
    # This section controls whether respawning and /spawn work on a per world or global server basis
    global-spawn {
        # If "spawn-on-login" is on and this is true, sends the player to the world specified in "target-spawn-world" when they log in.
        on-login=false
        # If true, respawning (like from death) sends the player to the world specified in "target-spawn-world", if false, sends them to the world spawn.
        on-respawn=false
        # If true, running /spawn sends the player to the world specified in "target-spawn-world", if false, sends them to the world spawn.
        on-spawn-command=false
        # The name of the world to use as the server spawn. If this is invalid, the default world is used instead.
        target-spawn-world=world
    }
    # If true, players require the permission "nucleus.spawn.worlds.<worldname>" to spawn in a specific world, where worldname is the name of the world in lowercase.
    per-world-permissions=false
    # If true, players will be sent to the default world spawn on login, unless they are sent to the first login spawn, or they have the "nucleus.spawn.exempt.onjoin" permission.
    spawn-on-login=false
    # If true, using /spawn will attempt to find a safe place. If false, the teleportation will always directly send the player to the location with no safety checks.
    use-safe-spawn=true

motd是更改进服时候的欢迎标语
rules不知道干嘛用的=。=
常见问题

怎样从EssentialCmds迁移数据到Nucleus?

俩个插件同时安装

控制台输入运行/nucleus migrate esscmds 并按照说明进行操作即可。



已知冲突插件

Nucleus原则上不与插件冲突,但是以下插件因为Nucleus已经整合了他的部分功能。

ProjectWorld
ProjectPortals
SimpleChat和SimpleTags

/invsee窗口消失
Nucleus已经修复了这个bug,但是1.10版本的sponge还需要安装


Nucleus Mixins

下载地址


百度盘 已汉化玩家常用的几句