Logo by xDizasterCYx Thank you!
Please note: The plugin will say that there is an update until ekclifford from Bukkit updates the resource. Don't worry though, have disabled the auto-update function as it was very buggy.
CommandsForSale is an extremely lightweight plugin that allows for commands to be blocked until they are purchased. Operators, moderators, and the console are exempt from needing to purchase commands. Each command is set up in the configuration file with the price and all other aliases of the command.
Commands
- /buycmd [Command Name]- Initiates the purchase of a command. Once the purchase has begun, it must be confirmed by /confirm or /deny if the user does not want to continue. Note that /buycmd alone will open the shop GUI. Purchases cannot be made if it leaves the player with a negative balance
- /buyonce <CommandName> [price]- buys a one time use pass for the command named. Adding the price argument will state the price of that command. There is no confirmation for these purchases.The pass will allow the next attempted use of the command and can stack.
- /confirm- Confirms the purchase initiated by /buycmd or if the GUI was closed without finishing
- /deny- Denies the purchase initiated by /buycmd or if the GUI was closed without finishing
- /boughtcmds [Player Name]- Lists all the commands that the user has purchased. To see other players, the sender must have the cmdsforsale.moderator permission. (Console exempt)
- /cmdstobuy- Lists the command that the sender can purchase (Not including commands already purchased)
- /cmdsforsale <reload || addcmd || addalias || updatestatus>- Note: This command requires the permission node cmdsforsale.moderator (Console exempt). /cfs is an alias of this command
- reload- Refreshes the configuration file including any edits made to be auto-generated.
- addcmd <Command Name>- Adds a command to the config and creates the settings necessary to configure the command
- addalias <Command Name> <Alias Name>- Adds the specified alias to the command given
- updatestatus- Gives the status from the last update attempt
- Vault (For an economy)
- cmdsforsale.moderator - Gives the player access to all subcommands of /cmdsforsale and can view other player's purchases. Players are also exempt from buying commands with this node.
- cmdsforsale.buyexempt - Exempt the player from the purchase of commands without giving them moderator abilites. Moderators do not need to be given this permission.
- cmdsforsale.use - Gives the player access to commands in commandsforsale. This is on by default.
The configuration file of CommandsForSale can be slightly confusing. The system is designed to be user friendly while using as little resources as possible when it is read by the compute To read more about the configuration file, head over to here, as it is too long to put on the main page. https://sites.google.com/site/tecno...lugins/commandsforsale/commandsforsale-config
Coming Soon
Development by myself has been suspended, but I promised compatibility updates.
External Resources
Plugin Metrics
This plugin uses PluginMetrics, a service that allows plugin developers to see how their plugin is being used. The following data is read from the server in some way or another:
- File Contents of plugins/Plugin Metrics/config.yml (created if not existent)
- Players currently online (not max player count)
- Server version string (the same version string you see in /version)
- Plugin version of the metrics-supported plugin
- Mineshafter status - it does not properly propagate Metrics requests however it is a very simple check and does not read the file system
- Metrics revision of the implementing class
- Server's GUID (I can't see this)
- Players currently online (not max player count)
- Server version string (the same version string you see in /version)
- Plugin version of the metrics-supported plugin
Updater
This plugin uses Updater. This service will automatically update the plugin without any work from a server owner. It can be disabled in the CommandsForSale config, and is explained in the config PDF file.
Source Code
GitHub Link (This is the latest update. Work towards the next is shown in branches.)
Usage Stats
All data from MCStats that I receive has been posted here.
Known Issues With v1.2.7
None.
Support
Have an error? Submit a ticket! Have a suggestion? I'd love to hear your opinions!: https://drive.google.com/open?id=1dZ3xsv-5I957cLb018qhp60ZtkUzynIyGWzr09NUhZY&authuser=0
Donations
Despite having more than 50 hours of work into this plugin, I still offer it for free! I really appreciate donations though. If you enjoy what I have made, I would really appreciate a donation to my work.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
CommandsForSale is a free Minecraft Java mod. Downloaded 652 times (via Spigot). Download it and open it directly in the game.