Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Commit

Permalink
Add new commands and permissions (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
Carisus authored and creatorfromhell committed Oct 24, 2016
1 parent 2e7b358 commit ca45da0
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 5 deletions.
4 changes: 4 additions & 0 deletions Docs/Commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,12 @@ Anything with {} are required arguments, () are optional.
| /tne delete {player} | tne.admin.delete | Delete {player}'s account. |
| /tne help | tne.admin.help | General TNE help |
| /tne id {player} | tne.admin.id | Get {player}'s id to be used for player configurations |
| /tne pin {username} {new pin} | tne.admin.pin | Reset {username}'s pin. |
| /tne purge | tne.admin.purge | Remove all accounts that have the default balance |
| /tne recreate | tne.admin.recreate | Attempts to recreate database tables |
| /tne reload {all/config/mobs/worlds} | tne.admin.reload | Reload the TNE configurations or reload the specified file |
| /tne save | tne.admin.save | Force saves all TNE data |
| /tne status {username} {status} | tne.admin.status | Set {username}'s account status. Valid options:Normal, Locked, BalanceLocked, and BankLocked. |

##Auction

Expand Down Expand Up @@ -80,6 +83,7 @@ lot = The auction's lot number.
| /money help | tne.money.help | General money help |
| /money balance | tne.money.balance | Find out how much money you have on you |
| /money give | tne.money.give | Summon money from air and give it to a player |
| /money history {page:#} {world:name/all} {type:type/all} | tne.money.history | See a detailed break down of your transaction history. |
| /money set {player} {amount} (world) | tne.money.set | Set {player}'s balance to {amount} |
| /money take {player} {amount} | tne.money.take | Make some of {player}'s money vanish into thin air |
| /money pay {player} {amount} | tne.money.pay | Pay a player money from your balance |
Expand Down
13 changes: 8 additions & 5 deletions Docs/Configurations/Mobs.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,16 @@ Mobs:

#Whether or not mobs drop money on death.
Enabled: true


#Whether or not to send a message stating how much money a player got for killing a mob
Message: true

#Reward configurations for individual mobs
#The configurations used for mobs that are not in vanilla MC or in your version of Bukkit
Default:
Enabled: true
Reward: 10.00

Bat:
Enabled: true
Reward: 10.00
Expand Down Expand Up @@ -60,7 +63,7 @@ Mobs:
Ghast:
Enabled: true
Reward: 10.00

Giant:
Enabled: true
Reward: 10.00
Expand Down Expand Up @@ -117,7 +120,7 @@ Mobs:
Rabbit:
Enabled: true
Reward: 10.00

RabbitKiller:
Enabled: true
Reward: 10.00
Expand Down Expand Up @@ -189,4 +192,4 @@ Mobs:
ZombieVillager:
Enabled: true
Reward: 10.00
```
```
9 changes: 9 additions & 0 deletions Docs/Permissions.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,18 @@ Anything with {} are required arguments, () are optional.
| tne.admin.delete | Delete {player}'s account. | /tne delete {player}
| tne.admin.help | General TNE help | /tne help
| tne.admin.id | Get {player}'s id to be used for player configurations | /tne id {player}
| tne.admin.pin | Reset {username}'s pin. | /tne pin {username} {new pin}
| tne.admin.purge | Remove all accounts that have the default balance | /tne purge
| tne.admin.recreate | Attempts to recreate database tables | /tne recreate
| tne.admin.reload | Reload the TNE configurations or reload the specified file | /tne reload {all/config/mobs/worlds}
| tne.admin.save | Force saves all TNE data | /tne save
| tne.admin.status | Set {username}'s account status. Valid options:Normal, Locked, BalanceLocked, and BankLocked. | /tne status {username} {status}

##Auction

| Node | Description | Command |
|---------------------|---------------------------------------------------------------------------------------|---------|
| tne.auction | |
| tne.auction.start | Start a new auction | /tne start {configuration}
| tne.auction.bid | Place a bid on an auction | /auction bid {bid} {lot}
| tne.auction.claim | Claim an auction reward | /auction claim {lot}
Expand Down Expand Up @@ -84,6 +88,7 @@ Anything with {} are required arguments, () are optional.
|---------------------|---------------------------------------------------------------------------------------|---------|
| tne.money.* | Gives access to all Money commands | |
| tne.money | | |
| tne.money.history | See a detailed break down of your transaction history. | /money history {page:#} {world:name/all} {type:type/all}
| tne.money.help | General money help | /money help
| tne.money.balance | Find out how much money you have on you | /money balance
| tne.money.give | Summon money from air and give it to a player | /money give
Expand Down Expand Up @@ -166,9 +171,12 @@ Use these in place of typing out each individual permission node.
| | tne.admin.create
| | tne.admin.delete
| | tne.admin.help
| | tne.admin.pin
| | tne.admin.purge
| | tne.admin.recreate
| | tne.admin.reload
| | tne.admin.save
| | tne.admin.status
| | tne.bank
| | tne.bank.help
| | tne.bank.add
Expand All @@ -188,6 +196,7 @@ Use these in place of typing out each individual permission node.
| | tne.credit.commands
| | tne.credit.inventory
| | tne.money
| | tne.money.history
| | tne.money.help
| | tne.money.balance
| | tne.money.give
Expand Down

0 comments on commit ca45da0

Please sign in to comment.