Commands & Permissions - PlayerNguyen/OptEco GitHub Wiki

Commands

Users

This command list will be accepted to all player:

Command Description Permission
/points pay Create a payment to another player to transfer money opteco.pay
/points confirm Confirm the transaction from somebody opteco.confirm
/points cancel Cancel the transaction from somebody opteco.cancel
/points me Check current balance of player opteco.me
/points top Watch top player on server opteco.top

Admins

This command list will need to be granted permissions to access

Command Description Permission
/points take Take some points from players opteco.take
/points set Set player point opteco.set
/points add Add some points for players opteco.add
/points check Check points of players opteco.check
/points reload Reload the OptEco plugin opteco.reload
* All from user commands

Command usage

points pay who

  • Create a new queue-transaction with another player.
  • With receivers:
    • /pay confirm to accept the offer
    • /pay cancel to deny the offer

points confirm

  • Accepting the offer from another player.

points cancel

  • Denying the offer from another player.

points me

  • Check the balance of the player who executes the command.

points top

  • Check players who are on top.

points take who amount

  • Take the player's point.
  • Whether the player is out of limit money, announce to the sender that the player cannot be taken.

points set who amount

  • Set the point to players as a new value.
  • Ex: If the player is having 100 points, whether set 200, the new point is 200 points

points add who amount

  • Addition points to players. (Stack point)
  • Ex: If the player is having 100 points, whether add 200, the new point is 300 points

points check who

  • Check the current point of players.

points reload

  • Reload config of OptEco plugins

Permissions

Besides the above permission list, OptEco provides you some group of permissions for easy to manage your members.

Permissions Sub-permissions Description
opteco.user opteco.top opteco.pay opteco.confirm opteco.cancel opteco.me Normal members permissions
opteco.admin opteco.user opteco.add opteco.set opteco.take opteco.check opteco.reload Admin permissions
opteco.* Include all permissions