- Tham gia
- 26/01/2017
- Bài viết
- 261
Mình không thấy ai đăng nên mình đăng =]]
Author: Qball
Server sử dụng plugin này: mine108,....

Plugin này giúp cho người chơi dịch chuyển đến các vùng đất hoang một cách ngẫu nhiên
thích hợp cho Server Survival.

Dịch chuyển ngẫu nhiên.
Tạo bảng: Right click » TP random:
Tạo cổng, tp random như multiverse.

Download » Copy » Paste vào forder plugins » vào console » reload

/wild - Bắt đầu dịch chuyển ngẫu nhiên.
/wild [player] - Lệnh của admin, cho phép người chơi nào tp.
Lệnh /wildtp hoặc /wtp
/wildtp reload - Reload lại config
/wildtp - Hiển thị trợ giúp
/wildtp set - Set x z nhỏ nhất và lớn nhất có thể tp
/wildtp gui - Hiển thị giao diện cài đặt của WildTp
/wildtp back - Trở lại vị trí TP random trước
/wildtp create {name} - Tạo cổng tp với tên, cần phải xác định vị trí cổng bằng /wildtp wand.
/wildtp delete {name} - Xóa cổng tp.
/wildtp wand - Dùng để tạo cổng, dùng như //wand bên world edit.

wild.wildtp - Cho phép người chơi dùng lệnh /wild
wild.wildtp.back - Cho phép người chơi dùng lệnh /wildtp back
wild.wildtp.others - Cho phép người chơi dùng lệnh /wild [player]
wild.wildtp.create.sign - Cho phép người chơi tạo bảng tp.
wild.wildtp.break.sign - Cho phép người chơi phá bảng tp.
wild.wildtp.cooldown.bypass - Cho phép người chơi phải đợi số giây trước khi tp
wild.wildtp.cost.bypass - Cho phép người chơi tp free.
wild.wildtp.reload - Cho phép người chơi reload config
wild.wildtp.set - Cho phép người chơi set x z nhỏ và lớn nhất và mở gui cài đặt.
wild.wildtp.portal.create - Cho phép tạo cổng tp.
wild.wildtp.portal.delete - Cho phép xóa cổng tp.

Link: www.spigotmc.org
Link mình việt hóa và thay đổi đôi chút về thời gian delay,....
drive.google.com


Bài gốc: www.spigotmc.org
Xem thêm mã nguồn,....bla: https://github.com/Qballl/WildernessTp
Author: Qball
Server sử dụng plugin này: mine108,....

Plugin này giúp cho người chơi dịch chuyển đến các vùng đất hoang một cách ngẫu nhiên
thích hợp cho Server Survival.

Dịch chuyển ngẫu nhiên.
Tạo bảng: Right click » TP random:
Tạo cổng, tp random như multiverse.

Download » Copy » Paste vào forder plugins » vào console » reload

/wild - Bắt đầu dịch chuyển ngẫu nhiên.
/wild [player] - Lệnh của admin, cho phép người chơi nào tp.
Lệnh /wildtp hoặc /wtp
/wildtp reload - Reload lại config
/wildtp - Hiển thị trợ giúp
/wildtp set - Set x z nhỏ nhất và lớn nhất có thể tp
/wildtp gui - Hiển thị giao diện cài đặt của WildTp
/wildtp back - Trở lại vị trí TP random trước
/wildtp create {name} - Tạo cổng tp với tên, cần phải xác định vị trí cổng bằng /wildtp wand.
/wildtp delete {name} - Xóa cổng tp.
/wildtp wand - Dùng để tạo cổng, dùng như //wand bên world edit.

wild.wildtp - Cho phép người chơi dùng lệnh /wild
wild.wildtp.back - Cho phép người chơi dùng lệnh /wildtp back
wild.wildtp.others - Cho phép người chơi dùng lệnh /wild [player]
wild.wildtp.create.sign - Cho phép người chơi tạo bảng tp.
wild.wildtp.break.sign - Cho phép người chơi phá bảng tp.
wild.wildtp.cooldown.bypass - Cho phép người chơi phải đợi số giây trước khi tp
wild.wildtp.cost.bypass - Cho phép người chơi tp free.
wild.wildtp.reload - Cho phép người chơi reload config
wild.wildtp.set - Cho phép người chơi set x z nhỏ và lớn nhất và mở gui cài đặt.
wild.wildtp.portal.create - Cho phép tạo cổng tp.
wild.wildtp.portal.delete - Cho phép xóa cổng tp.

Link: www.spigotmc.org
Link mình việt hóa và thay đổi đôi chút về thời gian delay,....
drive.google.com

Mã:
#####################################################################################################################################################
# The min for the x and z can be a negative number so -50000 is acceptable default is 0 #
# Sound to be played when /wild is used acceptable values are as follows: enderman teleport , egg pop , dragon growl , #
# enderman scream , portal travel , ghast moan , ghast scream, arrow hit , explosion BTW they are case insensitive so don’t worry about #
# copy paste. #
# Variables for the cost and cooldown are {rem} for remaining time on cooldown #
# {cool} for just cooldown and then {cost} for the cost and {wait} for the delay #
# Wait is how long before teleportation will occur after command is use in seconds #
# Potion format is Name:Duration. Duration is in seconds. #
# If the config doesnt generate in that format just add the : with the duration following #
# Retry is wether you want to try to find a new location if the first one is an unsafe location ie: water or lava? Default true #
# No-Perm is the message for when the player doesn’t have permission to make a sign No-Break is the message for when they #
# don’t have permission to break a sign #
# For post commands us {player} for the player keep in mind it is the player who does the command. #
# Distance is how many block away from a location the plugin will make sure there is no sort of claim #
# InvertYSearch will make the plugin search from 0 up to build height to allow cave finding #
# Use <loc> in Teleport to also give the x y and z in the message #
#####################################################################################################################################################
Retry: true
Retries: 4
#What is the message for when no suitable location is found
No Suitable Location: '&4No Suitable Locations found'
#Message to be displayed on teleport
Teleport: '&2Thrown to a random location...'
#No-Perm is for when they cant makes signs
No-Perm: '&4You do not have permission to make a wild sign'
#No-Perm is for when they cant break signs
No-Break: '&4Hey! You can not break WildTp sign!'
#Cooldoown time in seconds if you you want no cool down set it to 0
Cooldown: 5
# Do you want to play a sound true false
Play: true
Sound: 'Enderman Teleport'
#Command cost
Cost: 150
Cooldownmsg: '&4You must wait {rem} seconds until you can use the command and or sign again'
DoCostMsg: true
Costmsg: '&4&b${cost} &4 has been removed for using the command/sign'
RefundMsg: '&2${cost} Has been refunded to your account because there were no suitable locations'
#Worlds the command can be used in
Worlds: ['world:0:50000:0:50000']
#What potions will be applied when the command is used see Potions.txt for names the :20 is duration in seconds
Potions: ['Damage_Resistance:20','Water_breathing:20']
#"Warm up/Delay
Wait: 5
#Warm up message
WaitMsg: '&6 Teleporting in {wait} seconds'
UsedCmd: '&4 You have already used the command now please wait to be teleported'
Towny: false
Factions: false
FactionsUUID: false
GriefPrevention: false
WorldGuard: false
Kingdoms: false
FBasics: false
Distance: 20
#Biomes that shouldnt be teleported to
Blacklisted_Biomes: []
CancelMsg: '&4You Moved!!! Teleportation cancelled!!!'
WorldMsg: "&4 Command cannot be used in this world"
InvertYSearch: false
BlockCommands: ['spawn','home','tp','tpa']
Blocked_Command_Message: '&4Command is forbidden and wont complete please wait to be randomly teleported'
#Commands to be done after the player is teleported they are a list so it's -'command' newline -'command1'
PostCommands: []
Converted: false

Bài gốc: www.spigotmc.org
Xem thêm mã nguồn,....bla: https://github.com/Qballl/WildernessTp









