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

Permissions & Commands

DJNuk3 edited this page Aug 17, 2021 · 7 revisions

TNE uses standard permission nodes to determine whether users may perform certain tasks and run commands. OOp

Core

Commands and permissions provided by the core TNE plugin.

Permissions

General

Node Description Default
tne.* Grants full acess to all functionality. tne.bypass.world is not included.
tne.bypass.world Used to bypass any world changing costs that may be configured. nobody
tne.general.mob Allows receiving rewards for killing mobs. everyone

Currency Permissions

TNE allows restricting permissions to /money commands based on the currency. The follow permissions nodes outline this functionality.

Node Description Default
tne.money.give.* Grants access to /money give for all currencies. OP
tne.money.set.* Grants access to /money set for all currencies. OP
tne.money.take.* Grants access to /money take for all currencies. OP
tne.money.convert.* Grants access to /money convert for all currencies. EVERYONE
tne.money.note.* Grants access to /money note for all currencies. EVERYONE
tne.money.pay.* Grants access to /money pay for all currencies. EVERYONE
tne.money.give.<currency name without brackets> Grants access to /money give for the specific currency. OP
tne.money.set.<currency name without brackets> Grants access to /money set for the specific currency. OP
tne.money.take.<currency name without brackets> Grants access to /money take for the specific currency. OP
tne.money.convert.<currency name without brackets> Grants access to /money convert for the specific currency. EVERYONE
tne.money.note.<currency name without brackets> Grants access to /money note for the specific currency. EVERYONE
tne.money.pay.<currency name without brackets> Grants access to /money pay for the specific currency. EVERYONE

TNE Action Menu

Node Description Default
tne.menu.* Grants full access to all TNE Action Menu icons.
tne.menu.display Provides users to the TNE Action Menu Display Icon, which lets them check player balances. ops
tne.menu.give Provides users to the TNE Action Menu Give Icon, which lets them give players money from thin air. ops
tne.menu.pay Provides users to the TNE Action Menu Pay Icon, which lets them pay players money from their own balance. ops
tne.menu.set Provides users to the TNE Action Menu Set Icon, which lets them set player balances. ops
tne.menu.take Provides users to the TNE Action Menu Take Icon, which lets them take money from player balances, and make it vanish into thin air. ops

Commands

/tne

About: All commands that are designated as being for administrative purposes.
Base node: tne.admin (default: ops)
Wildcard node: tne.admin.*

Command Permission Description Default
tne backup tne.admin.backup Creates a backup of all server data. ops
tne balance <player> [world] [currency] tne.admin.balance Retrieves the balance of a player. Player ~ The account owner. World ~ The world to retrieve the balance from. currency ~ The currency to retrieve the balance of. ops
tne build tne.admin.build Displays the version of TNE currently running. ops
tne caveats tne.admin.caveats Displays all known caveats for this version of TNE. ops
tne create <player> [balance] tne.admin.create Creates a new economy account. Player ~ The account owner. Balance ~ The starting balance of the account. ops
tne debug tne.admin.debug Toggles console debug mode. ops
tne delete <playe\r> tne.admin.delete Deletes a player account. Player ~ The account owner. ops
tne delete <player> tne.admin.delete Deletes a player account. Player ~ The account owner. ops
tne extract tne.admin.extract Extracts all player balances with their username attached for database related debugging. ops
tne id <player> tne.admin.id Retrieves a player's TNE UUID. Player ~ The player you wish to discover the UUID of. ops
tne menu <player> tne.admin.menu Opens a GUI for performing basic transactions on the specified player. Player ~ The name/uuid of the player you wish to perform transactions with in the GUI. ops
tne purge tne.admin.purge Deletes all player accounts that have the default balance ops
tne recreate tne.admin.recreate Attempts to recreate database tables. WARNING: This will delete all data in the database. ops
tne report <report> tne.admin.report File a bug report. Report ~ The link to the pastebin with the bug report, use the following format: https://github.com/TheNewEconomy/TNE-Bukkit/blob/master/Report%20Format.md. ops
tne reset tne.admin.reset Deletes all economy-related data from the database. ops
tne restore tne.admin.restore Restores all balances that are located in extracted.yml after performing the extract command. ops
tne save tne.admin.save Force saves all TNE data. ops
tne status <player> [status] tne.admin.status Displays, or sets, the current account status of an account. Player ~ The account owner. ops
tne upload tne.admin.upload Uploads the TNE debug & latest server log to pastebin.com, and provides a link to each. ops
tne version tne.admin.version Displays the version of TNE currently running. ops

/tneconfig

About: All commands that are used to interact with configuration values.
Shortcuts: tnec
Base node: tne.config (default: ops)
Wildcard node: tne.config.*

Command Permission Description Default
tnec get <node> [configuration] tne.config.get Returns the value of a configuration. Node ~ The configuration node to use. Configuration ~ The configuration identifier to retrieve the value from. This may be retrieved automatically. ops
tnec save [configuration] tne.config.save Saves modifications made to a configuration value via command. Configuration ~ The configuration identifier to retrieve the value from. ops
tnec set <node> <value> [configuration] tne.config.set Sets a configuration value. This will not save until you do tnec save. ops
tnec tneget <node> [world] [player] tne.config.tneget Returns the value of a configuration after TNE takes into account player & world configurations. Node ~ The configuration node to use. World ~ The name of the world to use for parsing. Player ~ The name of the world to use for parsing. ops
tnec undo [configuration/all] tne.config.undo Undoes modifications made to configurations. Configuration ~ The configuration identifier to retrieve the value from. This may be retrieved automatically. ops

/currency

About: All commands that are used to interact with various currency functions.
Shortcuts: cur
Base node: tne.currency (default: ops)
Wildcard node: tne.currency.*

Command Permission Description Default
currency rename <currency> <new name> tne.currency.rename Renames a currency to a different name. ops
currency list [world] tne.currency.list Displays the currencies available for a world. World ~ The world to use. ops
currency tiers [currency] [world] tne.currency.tiers Displays the tiers for a currency. Currency ~ The Currency to check. World ~ The world that the Currency belongs to. ops

/language

About: All commands that are used to interact with the language system
Shortcuts: lang
Base node: tne.language (default: everyone)
Wildcard node: tne.language.*

Command Permission Description Default
language current tne.language.current Displays your current language as set for your account. everyone
language list tne.language.list Lists available languages on this server. everyone
language reload tne.language.reload Reloads all language files. ops
language set <name> tne.language.set Sets your current language to the one specified. everyone

/tnemodule

About: All commands that are used to interact with the module system
Shortcuts: tnem
Base node: tne.module (default: ops)
Wildcard node: tne.module.*

Command Permission Description Default
tnem info <module> tne.module.info Displays some information about a module. Module ~ The module to look up. ops
tnem list tne.module.list Lists all loaded TNE modules. ops
tnem load <module> tne.module.load Load a module from the modules directory. Module ~ The module to load. ops
tnem reload <module> tne.module.reload Reloads a module from the modules directory. Module ~ The module to reload. ops
tnem unload <module> tne.module.unload Unload a module from the server. Module ~ The module to unload. ops

/money

About: All commands that are used to interact with the server's money system.
Shortcuts: /money balance(/bal, /balance), /money pay(/pay), /money top(/baltop)
Base node: tne.money (default: everyone)
Wildcard node: tne.money.*

Command Permission Description Default
money balance [world] [currency] tne.money.balance Displays your current holdings. everyone
money convert <amount> <to currency[:world]> [from currency[:world]] tne.money.convert Convert some of your holdings to another currency. everyone
money give <player> <amount> [world] [currency] tne.money.give Adds money into your economy, and gives it to a player. ops
money note <amount> [currency] tne.money.note Makes your virtual currency physical, for storage/trading purposes. everyone
money pay <player> <amount> [currency] tne.money.pay Use some of your holdings to pay another player. everyone
money set <player> <amount> [world] [currency] tne.money.set Set the holdings of a player. ops
money take <player> <amount> [world] [currency] tne.money.take Removes money from your economy, specifically from a player's balance. ops
money top [page] [currency:name] [world:world] [limit:#] tne.money.top A list of players with the highest balances. [page] The page number to view. Defaults to 1. [Currency] The name of the Currency to get balances from. Defaults to world default. Use overall for all currencies. [world] The world name you wish to filter, or all for every world. Defaults to current world. Use overall for all worlds. [limit] Limit changes how many players are displayed. Defaults to 10. ops

/transaction

About: All commands that are used to interact with the transaction system.
Shortcuts: /trans
Base node: tne.transaction (default: everyone)
Wildcard node: tne.transaction.*

Command Permission Description Default
transaction away [page #] tne.transaction.away Displays transactions that you missed since the last time you were on. everyone
transaction history [player:name] [page:#] [world:name/all] tne.transaction.history / tne.transaction.history.other See a detailed break down of your transaction history. Page ~ The page number you wish to view. World ~ The world name you wish to filter, or all for every world. Defaults to current world. everyone
transaction info <uuid> tne.transaction.info Displays information about a transaction. UUID ~ The id of the transaction. everyone
transaction void <uuid> tne.transaction.void Undoes a previously completed transaction. UUID ~ The id of the transaction. ops

Discord Commands

Commands provided in the Discord Module.

Command Description
!eco balance [world] [currency] Displays your current holdings.
!eco balanceother <discord id> Checks another user's balance.
!eco give <discord id> <amount> [world] [currency] Adds money into your economy, and gives it to a player.
!eco pay <discord id> <amount> [world] [currency] Use some of your holdings to pay another player.
!eco set <discord id> <amount> [world] [currency] Set the holdings of a player.
!eco take <discord id> <amount> [world] [currency] Removes money from your economy, specifically from a player's balance.
Clone this wiki locally