This plugin allows you to create timed warps, at the end of the set time the player will be brought back to the starting position!
If a player exits during a timewarp he will be stored in the storange system, and if the server is not restarted / stopped, when the player re-enters the server he will spawn in the position before the timewarp
You can use this command with a voucher that allows you to run it (in the future it will be possible to create them)
Added Timer For TimedWarps In Actionbar!
The timer is fully customizable in the messages.yml file
Timer is Animated! (If you find bugs, please report them to me in the DM or in the Discussion section)
This plugin requires a warp plugin like essentials, gwarp, easywarp to work.
Minecraft versions lower than 1.8.8 are not supported!
#commands execute when timedwarp end!
enable_end_command: false
end: #remove # to enable
- 'spawn'
#Do I have to save the player position before the timedwarp and then bring it back?
save_player_location: true
warp_command: 'warp %warpname% %player%'
Code (Text):
version: 2.0
actionbartimer: '&6Timer: &A%timer%'
no_permission: '&cNo permission!'
args_error: '&cError! Use /tmw help'
voucher_give: '&7You gave %v%&7 voucher to %p%'
voucher_receive: '&7You have received a %v%&7 from %p%'
cannot_use: '&eYou are already in a Timed Warp!'
is_in: '&cPlayer is already in a timewarp!'
stats_bar: '&eIn Warp&f $1 &b- &eQuit During TmW&f $2'
help:
- '&6/tmw &eforce &b<player> <warp> <time>'
- '&6/tmw &egivevoucher &b<player> <type> <amount>'
- '&6/tmw &estats &b- &fshow plugin stats'
- '&6/tmw &etoggle &b- &fEnable ActionBar Stats'
- '&6/tmw &ereload &b- &fReload this plugin'
- '&6/tmw &ecancel &f<player> &b- &fCancel a Player warp'
Code (Text):
voucher:
v1: #<-- unique identifier
name: '&E&lSuper Lucky Voucher'
material: PAPER
lore:
- '&aGood voucher!'
- '&7Right Click!'
time: 12 # time of voucher
warp: a #warp name
CURRENT PERMISSIONS:
/tmw force - tmw.force
/tmw stats - tmw.stats
/tmw toggle - tmw.toggle
/tmw reload - tmw.reload
/tmw cancel - tmw.cancel
/tmw leave - tmw.leave
all commands - tmw.admin
CURRENT PLACEHOLDERS:
%tmw_totalwarping% - returns player amount in warp
%tmw_warping_{warpname}% - returns players in a certain time warp