Sueta

Lobby Presents Find the Presents [1.8-1.13.2] [MYSQL]

4.3

Happy christmas Find the Presents in lobby

·Plugin

No more update
please, check on github

LobbyPresents v4.3

the lastest version(newer than all above) 4.5 for 1.8 only Download (removed deprecated placeholder api(good for newer))
after you set everthing finish type /lps reload to save config

YouTube


Features:
- This plugin is a fun plug-in for the Christmas season or ..... .
- Players can find gifts to accumulate.
- And can be rewarded when found gifts.
- For admin can get presents head by /lps presents


Commands: permission: lobbypresents.admin

- /lps help {page}
- /lps list
- /lps set {id}
- /lps remove {id}
- /lps reward
- /lps reward settype {Sequence/Custom/Both}
- /lps reward setsequence {sequence} {none/cmd1,cmd2,...}
- /lps reward setcustom {id_presents} {none/cmd1,cmd2,...}
- /lps heads
- /lps reload
- /lps clearuserdata {playername}
- /lps checkversion

Images

Support:
- Mysql
- PlaceholderAPI

How to setup:
1.Download plugin.
2.Copy this plugin into the plugin folder.
3.Stop/Start your server.
4./lps heads choose the heads and place on the world.
5./lps set {id} and right click on the skull.
6./lps reward settype {sequence/custom/both}.
7./lps reward setsequence or setcustom after finish.
8.RELOAD SERVER or STOP and START.
9. ENJOY!

Varibles:
- %total%
- %found%
- %player%
PlaceholderAPI 2.9+:

- %lobbypresents_max%
- %lobbypresents_found%
- %lobbypresents_unfound%

Event:

PlayerClickClaimedPresentEvent
@EventHandler
public void onPlayerClickPresents(PlayerClickClaimedPresentEvent e) {

}
Config.yml
MYSQL:
  Enable: false
  host: 'localhost'
  port: '3306'
  database: 'LobbyPresents'
  table_name: 'presents'
  username: 'root'
  password: '123'
Effect:
  distance: 5
  ticks: 40
  canclaim: VILLAGER_HAPPY
  claimed: CRIT
Messages:
  found: "&aYou found a present! &e(&b%found%&e/&b%total%&e)"
  alreadyfound: "&cFound already!"
  completed: "&bMerry Christmas!! &c(&a%found%&f/&a%total%&c)"
  actionbar: "&b&lLobby Presents &c(&a%found%&f/&a%total%&c)"
  actionbar-completed: "&b&lLobby Presents &a&lCompleted!&f &c(&a%found%&f/&a%total%&c)"
Actionbar:
  enable: false
  world:
  - worldname
  update: 10
Sounds: {}
Rewards:
  type: sequence
  sequence-rewards: {}
data.yml
user:
  u-u-i-d: 1,2,3,4
presents.yml
presents:
  1:
    loc: Lobby:-0:0:0
    custom-rewards: say hi %player%,say Good %player%
  2:
    loc: Lobby:-0:0:0
    custom-rewards: say hi %player%,say Good %player%
  5:
    loc: Lobby:-0:0:0
    custom-rewards: say hi %player%,say Good %player%

Similar projects

Plugin →