本帖最后由 1582952890 于 2017-9-17 09:45 编辑
好用的随机传送插件
已在服务器测试并正常使用
什么是RandomLocationRandomLocation让你传送到预设区域的随机位置。
可以通过命令,木牌或者自定义的物品来传送。
您还可以让它使新人第一次入服就随到一个更好的开始位置。
权限和命令列表权限: RandomLocation.Use (普通用户组权限)
请给普通玩家加上这个权限↑(/mangaddp builder RandomLocation.Use)
/rSpawn <ZoneName> - 在名为<ZoneName>的区域内传送
这个权限同样使玩家可以使用木牌和传送门
权限: RandomLocation.Admin(管理员权限)
/rLoc - 显示帮助
/rLoc Create <区域名> - 创建新区域
/rLoc pos1/2 <区域名> - 设置区域的边界。将读取玩家脚下的坐标
/rLoc radius <区域名> <#范围> - 快速设置区域范围,将是以你为中心半径<#范围>的圆
/rLoc fitWorldBorder <区域名> - 如果你有WorldBorder插件可以直接把区域范围跟边界重合
/rLoc option - 列出区域中可以设置的选项
/rLoc option <区域名> info - 查看区域的信息
/rLoc option <区域名> setPerm <权限节点> - 设置区域内的自定义权限,权限节点格式为 "RandomLocation.<权限节点>"
/rLoc del <区域名> - 删除一个区域
/rLoc list - 列出所有区域
/rPlayer <玩家名> <区域名> - 直接随机传送一个玩家到某区域
/rReload - 重启插件
如何设置随机传送区域为了不让玩家随机传送到几千万方块外必须设置一个最大范围
示例:设置一个名为"TestZone"的随机传送区域
第一步:输入 /rLoc create TestZone
第二步:站在Point 1点处输入 /rLoc pos1 TestZone
第三步:站在Point 2点处输入 /rLoc pos2 TestZone
第四步:输入 /rSpawn TestZone 即可在此区域内随机传送
如何用木牌设立传送点
放一个木牌
第一行 [rl]
第二行 区域名(如TestZone)
第三行和第四行随便写(介绍)
如何设置传送门随机传送
先设置好一个传送区域Zone1
然后设置另一个传送区域Zone2(作为传送门)
然后把第二个区域的属性调整为传送门 输入 /rLoc setType Zone2 p
然后设置传送门的目标区域,一旦玩家走进传送门区域Zone2会自动被随机传送到Zone1:/rLoc setPortalDest Zone2 Zone1
冷却时间请在config里设置(关键字cooldown)
config.yml 配置文件(汉化了重要部分)- # -
- # - - - - - - - - -
- # For documentation and examples for config setup
- # go to: http://dev.bukkit.org/bukkit-plugins/randomlocation/pages/config-setup/
- # - - - - - - - - -
- # -
- Permissions: #是否需要权限
- UsePermissions: true
- OpenSigns: true
- OpenPortals: true
- MessageOnTeleport: true #传送时是否有提示信息
- Performance:
- ZoneCheckDelay: 10
- BackgroundChecks: 100
- ChunksToCheck: 50
- MaxLocationsStoredPerZone: 20
- Backup: #备份
- Enable: false
- BackupInterval: 1800
- MaxBackups: 50
- Cooldowns: #冷却时间(秒)
- Commands: 36000 #指令的冷却时间
- Portals: 36000 #传送门的冷却时间
- Signs: 36000 #牌子的冷却时间
- TeleportOnFirstJoin:
- Enable: false #是否在玩家第一次加入服务器时将其随机传送
- Zone: Default #(接上行)随机传送到的区域
- AutoUpdater:
- Enable: false #自动更新
- AutoDownload: true
- CheckForBetas: false
- PromptAdminForUpdate: true
- CheckForUpdateInterval: 6h
- Hooks:
- UseFactionSupport: true
- UseTownySupport: true
- UseWorldBorderSupport: true
- UseGriefPreventionSupport: true
- UseVaultSupport: true
- UseWorldGuardSupport: true
- IgnoreFactions: ''
- IgnoreTowns: ''
- IgnoreGriefPrevetionPlayers: ''
- IgnoreWorldGuardRegions: ''
- Economy:
- Price: 0.0 #每次使用需要的钱数
- MoveRestriction:
- Enable: false
- Time: 5
- IgnoreBed: false
- IgnoreOtherPlugins: false
- Respawn: ''
- Aliases: ''
- WorldTravelListener: ''
复制代码 |
原贴内容
- RandomLocation
- 1.9 Update
- I haven't done much with this plugin for a really long time, but as it is more or less no longer working for 1.9 I decided that it was probably time for an update. Though with studies and three other jobs, finding time for this projects isn't going to be easy. I have also decided to do a full recode of the project and planing on making it open source, allowing others to help update and implement new features in the future. Please stay tuned for more information regarding updates.
- What's RandomLocation
- RandomLocation lets you teleport to random location in preset areas. This can be done by command, signs or custom portals. You can also configure it to teleport people that join for the first time to a random location for getting a better start where there ain't others.
- Features
- Spawn players in a random location in a preset area
- Easy to use, no configuration needed
- In-game reload
- Full permissions, but not needed
- Teleports through signs
- Teleports through custom portals
- Light Weight
- Cooldown
- Multi-World support
- Choose from spawning in the air with god mode or safely on the ground
- Highly configurable
- Plenty of spawn settings that fits every server from survival or skygrid to urban servers
- Teleport on first join support
- Plenty of settings to edit per zone
- Ability for custom permissions per zone
- Advanced zone options that are easy to configure
- Edit zone options in game
- Take regular updates with custom intervals of the config files
- Command to fit zones to WorldBorder settings
- Supported Plugins
- RandomLocation will hook into the supported and provide a better location and prevent players from being teleported into protected areas All hooks can be disabled in the config file
- Faction support
- Towny support
- WorldBorder support
- WorldGuard
- Vault (Economy)
- Spawning Conditions
- You have some config options for how players shall spawn. This is changed under the zone mode You can choose "Ground", "Air" or "Top".
- For all the above options except for "air" players will not spawn on or in:
- Lava
- Water
- Fire
- Cactus
- Cobweb
- Normal Portal
- End Portal
- And more
- Players will neither spawn in mid air or in solid blocks.
- Tutorials
- I haven't gotten the time to make a tutorial myself, but if any one else wants to make one then I'll be very great full
- Thanks to LegendSmile for providing at least a german tutorial:
- https:www.youtube.com/watch?v=_J5ULsNvrqE
- FAQ/Help
- If you have any questions just ask, BUT before you ask read:
- Getting Started
- Commands & Permissions
- Config Setup
- How To Create Teleport Signs
- How To Create Portals
- Non Teleport Zones Guide
- If you have a problem at all then the first thing you should do is see if there is an update, if you got to the latest update then you can also read about all previous updates, and one of the might contain something fixing your issue. This is one of the most common request I get, as people report bugs that are old and fixed. The plugin also contains an auto updater, announcing when a new update is found. When reporting a problem, do also state your plugin version.
- If you have problems with the plugin displaying "Cant find a location to teleport to" then post a comment with the following info:
- A screen shot of the result you get from "/rLoc option <ZoneName> info"
- A description of what type of condition the zone is if (does it have a roof, what is the most common ground block, what world is it in, etc.)
- The coordinates (do not have to be precise for bigger zones, can be "400,110,1000", meaning ca x ≈ 400, y ≈ 110... (for both pos1 & pos2)
- If you are having lag problems then there is often two reasons. One is that players are teleported to chunks which haven't been loaded before, and therefor the server needs to generate the chunks while it is teleporting the player. To fix this you could try and use WorldBorder which got a fill feature to generate the chunks within a world border.
- Another reason for lag might be that you server doesn't got much resources to disposal. Meaning either your server is over loaded or that you don't got a very strong cpu. To reduce the lag created by the plugin, check out the "Performance" section in the config page above. Look into the settings and adjust them to your needs.
- Auto Updater
- The plugin has its own plugin updater, which checks wether there is an update available or not. The updater will not download anything, only notify console and admins. To disable this and prevent the plugin from using any network access click on this: Config Setup and scroll down to the Auto Updater settings a bit down on the page
- Metrics
- As of version 4.69 Beta, 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
- The plugin also got an auto updater, which will check for the latest version and download or only notify if it finds a method. If you want to disable this, go into the config.yml and set "Updater.Enable" to false
- Bugs
- To report a bug just leave a comment describing you bug, also if you got any errors in the log please provide them to with a web site like pastebin. Also provide the current MC version, RL version and other information that might be of interest like if you are running a custom build like spigot.
- None
- ToDo
- Todo - Priority
- Add messages file for editing the messages displayed by RandomLocation - Low
- Clean up commands & text - Low
- Add option for radius check in search of protected areas when spawning, e.g. not spawning to near Faction land and so on - Medium
- Add range option for nearest player - Medium
- Add more options to the AIR mode (height and so on) - Medium
- Add more perms (cooldown bypass etc) - Medium
- Allow multiple destination zones for portals (maybe commands too) - Medium
- Custom cooldowns per portal (maybe per destination zone instead, custom cmd, sign and portal cooldown) - Medium
复制代码 |
下载:
原贴提供的下载地址觉得不错请花3.7秒评个分 thx~~
那个,806805832 帮我解决下问题,我照你上面说的输入了开始点就是站这的牌子的地方,然后结束点我在这一个世界里面,牌子在world 然后结束点也在world 难道这样不可以的么?,求解,最好可以加我QQ和我说下,或者去我服务器弄,我QQ:770079100