Skip to content

Commit

Permalink
Edited README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
NightMirror committed Jul 9, 2022
1 parent 374baf9 commit 2c9d8c8
Showing 1 changed file with 42 additions and 34 deletions.
76 changes: 42 additions & 34 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
**/whitelist add [nickname] (time)** - *whitelistbytime.add*\
**/whitelist remove [nickname]** - *whitelistbytime.remove*\
**/whitelist check [nickname]** - *whitelistbytime.check*\
**/whitelist time [nickname] [time]** - *whitelistbytime.time"*\
**/whitelist reload** - *whitelistbytime.reload*\
**/whitelist getall** - *whitelistbytime.getall*
- (time) - time for which the player will be added to the whitelist\
Expand Down Expand Up @@ -67,8 +68,10 @@ public class EventHandler implements Listener {
```yaml
####### SETTINGS #######

# Checks the player in the whitelist every second
# Checks the player in the whitelist
checker-thread: true
# The delay through which the thread will check players. In seconds
checker-delay: 1


####### DATABASE #######
Expand All @@ -88,47 +91,52 @@ mysql-password: qwerty123
####### MESSAGES #######

minecraft-commands:
plugin-reloaded: '&6Plugin reloaded!'
not-permission: '&cYou do not have permission!'
plugin-reloaded: '&6Plugin reloaded!'
not-permission: '&cYou do not have permission!'

you-not-in-whitelist: '&6Sorry, but you are not in whitelist'
player-removed-from-whitelist: '&e%player% successfully removed from whitelist'
player-already-in-whitelist: '&e%player% already in whitelist'
player-not-in-whitelist: '&e%player% not in whitelist'
you-not-in-whitelist: '&6Sorry, but you are not in whitelist'
player-removed-from-whitelist: '&e%player% successfully removed from whitelist'
player-already-in-whitelist: '&e%player% already in whitelist'
player-not-in-whitelist: '&e%player% not in whitelist'

# For command with time
successfully-added-time: '&a%player% added to whitelist for %time%'
still-in-whitelist-time: '&a%player% will be on the whitelist still %time%'
# For command with time
successfully-added-for-time: '&a%player% added to whitelist for %time%'
still-in-whitelist-for-time: '&a%player% will be in whitelist still %time%'

# For command without time
successfully-added: '&a%player% added to whitelist forever'
still-in-whitelist: '&a%player% will be on the whitelist forever'
# For command without time
successfully-added: '&a%player% added to whitelist forever'
still-in-whitelist: '&a%player% will be in whitelist forever'

list-title: '&a> Whitelist:'
list-player: '&a| &f%player% &7[%time%]'
list-empty: '&aWhitelist is empty'
list-title: '&a> Whitelist:'
list-player: '&a| &f%player% &7[%time%]'
list-empty: '&aWhitelist is empty'

forever: 'forever'
set-time: 'Now &a%player% &fwill be in whitelist for &a%time%'
add-time: 'Added &a%time% &fto &a%player%'
remove-time: 'Removed &a%time% &ffrom &a%player%'

help:
- '&a> WhitelistByTime - Help'
- '&a| &f/whitelist add [player] (time)'
- '&a| &f/whitelist remove [player]'
- '&a| &f/whitelist check [player]'
- '&a| &f/whitelist reload'
- '&a| &f/whitelist getall'
- '&a| &f(time) - time for which the player will be added to the whitelist'
- '&a| &fExample: 2d 3h 10m'
- '&a| &fLeave this value empty if you want to add player forever'
forever: 'forever'

help:
- '&a> WhitelistByTime - Help'
- '&a| &f/whitelist add [nickname] (time)'
- '&a| &f/whitelist remove [nickname]'
- '&a| &f/whitelist check [nickname]'
- '&a| &f/whitelist reload'
- '&a| &f/whitelist getall'
- '&a| &f/whitelist time set/add/remove [nickname] [time]'
- '&a| &f(time) - time for which the player will be added to the whitelist'
- '&a| &fExample: 2d 3h 10m'
- '&a| &fLeave this value empty if you want to add player forever'



time-units:
year: 'y'
month: 'mo'
week: 'w'
day: 'd'
hour: 'h'
minute: 'm'
second: 's'
year: 'y'
month: 'mo'
week: 'w'
day: 'd'
hour: 'h'
minute: 'm'
second: 's'
```

0 comments on commit 2c9d8c8

Please sign in to comment.