
功能介绍
Non-Specific Odyssey 是一个随机传送插件,始终为你传送至理想的位置!
- 绝不会传送到水中或岩浆中
- 绝不会传送到方块内部或洞穴内
- 基于权限的多世界支持
- 可配置且基于权限的多环境支持
- 可配置的无伤害设置
- 可配置的冷却时间
- 传送至生物群系
使用方法
将 NonSpecificOdyssey.jar 文件放入服务器的 plugins 目录并启动服务器。配置文件将自动以默认值生成。
配置选项
包含以下一些配置选项:
是否在使用随机传送命令(/rtp)之间启用冷却时间
冷却时间的持续时间(秒)。默认值:120 秒
传送后玩家是否处于无敌状态(不受到伤害)。默认值:false
no_damage_time: [seconds]
玩家无敌状态的持续时间(秒)。默认值:20 秒
玩家可向任意方向传送的最大距离。例如设置为 2048 时,随机坐标将在 -2048 到 +2048 之间。默认值:1024
是否允许随机传送到下界。你也可以通过权限限制前往下界。默认值:false
是否允许随机传送到末地。你也可以通过权限限制前往末地。默认值:false
生物群系搜索从玩家当前位置相对开始搜索的方块数量。使用较大的值可从更远处开始搜索。默认值:0
<<code text>>
step: [number]
生物群系搜索使用的步长(方块数)。较小的值精度更高,较大的值搜索速度更快。默认值:10
设置出现在 Non-Specific Odyssey 告示牌第一行方括号内的文本。默认值:'Random TP'
命令
共有三个命令。
/randomteleport
- 别名:[rtp, nso]
- 描述:传送至随机目的地
- 用法:
/<command> [world]
[world] 为可选参数,不带参数使用时,会在你当前所在的世界内进行传送
/biome
- 别名:[rtpb, nsob]
- 描述:传送至特定生物群系
- 用法:
/<command> [biome|list] [world]
- 使用
/biome list 将显示有效生物群系名称列表
[world] 为可选参数,不带参数使用时,会传送至你当前所在世界内的某个生物群系
/nsoadmin
- 描述:更改配置选项
- 用法:
/<command> [option] 或 /<command> [option] [amount]
- 输入的 config
[option] 需与 config.yml 文件中显示的完全一致
- 对于值为
true|false 的选项,只需使用 /nsoadmin [option] 即可切换设置,例如 /nsoadmin cooldown - 这将切换该设置的开关
- 对于其余选项,请为
[amount] 指定一个数值,例如 /nsoadmin max 1500
告示牌
你可以使用告示牌作为随机传送和生物群系传送的触发器。
- 放置一个告示牌
- 在首行的开闭方括号之间输入配置文件中
firstline 指定的文本,例如:[Random TP]
- 第二行可以填写任意内容
- 若要指定世界,请在第三行输入世界名称
- 若要指定生物群系,请在第四行输入生物群系名称
如果指定的世界或生物群系无效,相关行将被忽略。
玩家必须拥有 nonspecificodyssey.sign 权限才能使用告示牌,拥有 nonspecificodyssey.admin 权限才能制作告示牌。
要移除告示牌,你必须具有 OP 权限,然后潜行状态下点击 Non-Specific Odyssey 告示牌即可。
权限
具体权限如下:
默认:所有人 - 允许玩家使用随机传送命令
nonspecificodyssey.use.[world]
允许玩家在指定世界中随机传送
默认:OP - 允许玩家使用 Non-Specific Odyssey 告示牌
默认:OP - 允许玩家随机传送至末地
nonspecificodyssey.nether
默认:OP - 允许玩家随机传送至下界
nonspecificodyssey.bypass
默认:OP - 允许玩家绕过随机传送冷却时间
默认:OP - 允许玩家更改配置选项,以及制作 Non-Specific Odyssey 告示牌
默认值:op - 拥有以下子权限的父级权限节点:
- nonspecificodyssey.use
- nonspecificodyssey.nether
- nonspecificodyssey.end
- nonspecificodyssey.sign
nonspecificodyssey.biome.*
默认值:op - 拥有以下子权限的父级权限节点:
- nonspecificodyssey.biome.EXTREME_HILLS
- nonspecificodyssey.biome.SWAMPLAND
- nonspecificodyssey.biome.FOREST
- 等等
更新日志
v1.4.1
- 添加了初始生物群系搜索步长的配置选项
initial_step,默认为 0,即从玩家当前位置开始搜索。设置更高的值可以从更远的地方开始搜索。
- 在
/nsoadmin 命令中添加了 step 和 initial_step
v1.4
- 为
/biome 命令添加了 [world] 参数,用法:/biome [biome] [world]
- 为
/biome 命令的生物群系类型添加了标签补全功能
- 添加了 Non-Specific Odyssey 告示牌
v1.3
- 添加了新命令
/biome [biome],用于传送至指定生物群系类型的最近出现位置
- 命令别名:
rtpb 和 nsob
- 可以使用
/rtpb list 列出生物群系类型
- 授予前往所有生物群系的权限:
nonspecificodyssey.biome.*,默认值为 OP
- 使用权限限制仅能前往特定生物群系:
nonspecificodyssey.biome.[BIOME],例如 nonspecificodyssey.biome.EXTREME_HILLS
v1.2
v1.1
- 添加用于更改配置选项的命令
/nsoadmin [option] [amount]
- 添加了传送音效
v1.0 首次发布
源代码
GitHub 仓库
指标数据
本插件使用了 Hidendra 的插件指标系统,这意味着会收集并发送以下信息至 mcstats.org:
- 唯一标识符
- 服务器的 Java 版本
- 服务器是离线模式还是在线模式
- 插件版本
- 服务器版本
- 操作系统版本/名称及架构
- CPU 核心数
- 在线玩家数量
- Metrics 版本
可以通过编辑 plugins/Plugin Metrics/config.yml 并将 opt-out 更改为 true 来退出此服务

What it does
Non-Specific Odyssey is a random teleport plugin that always gives you good locations!
- never teleport into water or lava
- never teleport inside blocks or caves
- permissions based multi-world support
- configurable & permissions based multi-environment support
- configurable no-damage settings
- configurable cool down period
- teleport to biomes
How it works
Add the NonSpecificOdyssey.jar file to your server's plugins directory and start up the server. A config file will be created automatically with the default values.
Configuration
There are a few config options:
Whether to use a cool down period between usage of the random teleport command (/rtp)
How long (in seconds) the cool down period is. Default: 120 seconds
Whether the player takes no damage (invulnerability) after teleporting. Default: false
no_damage_time: [seconds]
How long (in seconds) the player takes no damage. Default: 20 seconds
The maximum distance a player can teleport in any direction ie if set to 2048 the random co-ordinate will be between -2048 and +2048. Default: 1024
Whether you can random teleport to the Nether. You can also restrict travel to the Nether using permissions. Default: false
Whether you can random teleport to the The End. You can also restrict travel to the The End using permissions. Default: false
The number of blocks the biome search starts searching relative to the player's current location. Use larger values to start the search further away. Default: 0
<<code text>>
step: [number]
The number of blocks the biome search uses. Smaller values are more accurate, larger values make the search faster. Default: 10
Sets the text that appears between the square brackets on the first line of a Non-Specific Odyssey sign. Default: 'Random TP'
Commands
There are three commands.
/randomteleport
- aliases: [rtp, nso]
- description: Teleport to a random destination
- usage:
/<command> [world]
[world] is optional, when used with no arguments, it teleports you within the world you are currently in
/biome
- aliases: [rtpb, nsob]
- description: Teleport to a specific biome
- usage:
/<command> [biome|list] [world]
- using
/biome list will show a list of valid biome names
[world] is optional, when used with no arguments, it teleports you to a biome within the world you are currently in
/nsoadmin
- description: Change config options
- usage:
/<command> [option] OR /<command> [option] [amount]
- type the config
[option] as it appears in the config.yml file
- for options that are
true|false just use /nsoadmin [option] e.g. /nsoadmin cooldown - this toggles the setting
- for the rest of the options specify a number for the
[amount] e.g. /nsoadmin max 1500
Signs
You can use a sign as a trigger for random and biome teleports.
- Place a sign
- Between opening and closing square brackets type the text specified by
firstline in the config file, for example: [Random TP] on the first line
- You can put anything you like on line two
- To specify a world, type the world name on line three
- To specify a biome, type a biome name on line four
If an invalid world or biome type is specified those lines will be ignored.
Players must have the permission nonspecificodyssey.sign to use signs, and nonspecificodyssey.admin to make signs.
To remove a sign, you must be an Op, then just click the Non-Specific Odyssey sign while sneaking.
Permissions
Here they are:
Default: everyone - Allow player to use the random teleport command
nonspecificodyssey.use.[world]
Allow player random teleport in the specified world
Default: op - Allow players to use Non-Specific Odyssey signs
Default: op - Allow player to random teleport to THE END
nonspecificodyssey.nether
Default: op - Allow player to random teleport to the NETHER
nonspecificodyssey.bypass
Default: op - Allow player to bypass the random teleport cool down
Default: op - Allow player to change config options, and make Non-Specific Odyssey signs
Default: op - Parent permissions node that has the children:
- nonspecificodyssey.use
- nonspecificodyssey.nether
- nonspecificodyssey.end
- nonspecificodyssey.sign
nonspecificodyssey.biome.*
Default: op - Parent permissions node that has the children:
- nonspecificodyssey.biome.EXTREME_HILLS
- nonspecificodyssey.biome.SWAMPLAND
- nonspecificodyssey.biome.FOREST
- etc, etc
Change log
v1.4.1
- Added a config option for initial biome search step -
initial_step - default is 0, so it searches from the player's current location. Set it to higher values to start searching further away.
- Added
step and initial_step to /nsoadmin command
v1.4
- Added a [world] argument to the
/biome command, usage: /biome [biome] [world]
- Added tab completion for biome types to the
/biome command
- Added Non-Specific Odyssey signs
v1.3
- Added a new command -
/biome [biome] to teleport to the nearest occurrence of the biome type specified
- Command aliases:
rtpb and nsob
- You can list biome types with
/rtpb list
- Grant travel to all biomes with the permission:
nonspecificodyssey.biome.* - default is OP
- Restrict travel to specific biomes using permissions:
nonspecificodyssey.biome.[BIOME] e.g. nonspecificodyssey.biome.EXTREME_HILLS
v1.2
- Built with Bukkit 1.5.2-R0.2
v1.1
- Add command to change config options
/nsoadmin [option] [amount]
- Added teleport sound
v1.0 Initial release
Source code
GitHub Repository
Metrics
This plugin utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true
评论 0
登录后参与评分
还没有评论,来抢沙发吧