Sueta

PinProtect

2.6

Account pin protector

·Plugin

Commands

/pin check
/pin set <nick> <pin>
/pin remove nick
/pin reload

Config:

MySQL:
  enable: false
  hostname: "localhost"
  port: "port"
  database: "database"
  username: "user"
  password: "password"
Protect:
  Inventory-name: "&7Pin Protect"
  AuthMe: true
  Session:
    enable: true  // enable session
    time: 60  // minutes
  CommandAllow:  // who can use the command (List)
  - ventooo

Message:
  pinPrefix: "&8[&6&lRebirth&fx&6&lSavage&8]"
  pinNoPerm: "&cNo permission!"
  pinAccept: "&a&lPin successfully accepted!"
  pinKick: "<pin> &c&lIncorrect pin!!"
  pinSession: "&a&lPin session expires in &c&l<time> "
  pinSet: "&aYou successfully set pin for &c<player>&a!"
  pinCheck: "&a&lPlayer&7: &c<player> &a&lPin&7: &c<pin>"
  pinRemove: "&aPin removed from player &e<player>&a!"
  pinNotExist: "&cThat player &e<player> &cdoes not have a pin!"
  pinReload: "&aConfig successfully reloaded!"

Help:
- "&7&m                      &r"
- "&c&l* &a/pin check &7<nick>"
- "&c&l* &a/pin set &7<nick> <pin>"
- "&c&l* &a/pin remove &7<nick>"
- "&c&l* &a/pin reload"
- "&7&m                      &r"

Pictures:

Installation:
0. Please use Java 8, every developer will thank you greatly.
1. Download PinProtector.jar
2. Place PinProtector.jar into your plugins folder.
3. Turn server on.
4. Edit config, set nick in CommandAllow!
5. Restart
6. Enjoy!

Similar projects

Plugin →