TreasureHunt icon

TreasureHunt -----

Add some treasure's on your server!



Command execution, new command and anit-abuse calculation of distance.
1). For the suggestions i added command execution to my plugin. Now you can execute command while player opening the certain chest. How to do it? Just add two these section(an examples):

Command: broadcast Cool!
CommandExecutor: console
(broadcast to all players/execution performed by console)

Command: speed 2
CommandExecutor: player
(speed up player who found a chest/execution performed by player)

Command: broacast Very cool!
(broadcast to all players/if CommandExecution section no specified, command try to execute by console by default)
There are only to command executors: player and console.

2). One more cool improvement. One of the problems of plugin - is that players may simply calculate the coordinates of chest having three points and distances to chest. To prevent such leak of gameplay, i wrote some algorithm that masks real distance, but it still nice playable. To turn on this algorithm fill section ImprovedDistanceCalc in config.yml by true value( false setted by default).

3). One new command: /huntcreate [amount]. Simply generated empty .yml files in chest directory. Permission needed - th.huntcreate.
----------, Jul 5, 2019
Resource Information
Author:
----------
Total Downloads: 3,652
First Release: Feb 22, 2019
Last Update: Apr 1, 2022
Category: ---------------
All-Time Rating:
15 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings