Join our discord
In partnership with NodeCraft Logo NodeCraft


You are not logged in! Create an account or login to contribute! Log in here!

Difference between revisions of "PixelMoney"

From Pixelmon Wiki
(→‎Installation: Added the economy plugin requirement.)
 
(15 intermediate revisions by 5 users not shown)
Line 1: Line 1:
PixelMoney is a [[Pixelmon]] [[sidemod]] and [https://www.spongepowered.org/ Sponge] plugin used to set cash rewards for defeating Pokémon.
+
PixelMoney is a [[Pixelmon]] [[sidemod]] and [https://www.spongepowered.org/ Sponge] plugin used to set cash rewards for beating Pixelmon trainers, as well as catching or defeating wild Pokémon.
  
 
==Installation==
 
==Installation==
 
{{SidemodVersionh}}
 
{{SidemodVersionh}}
 +
{{SidemodVersion|1.12.2|8.0.0+|3.0.6}}
 +
{{SidemodVersion|1.12.2|7.0.8+|3.0.4}}
 +
{{SidemodVersion|1.12.2|7.0+|3.0.3}}
 +
{{SidemodVersion|1.12.2|6.3+|3.0.0}}
 
{{SidemodVersion|1.12.2|6.0+|2.1.0}}
 
{{SidemodVersion|1.12.2|6.0+|2.1.0}}
 
{{SidemodVersion|1.10.2|5.1.0+|2.0.0}}
 
{{SidemodVersion|1.10.2|5.1.0+|2.0.0}}
 
{{SidemodVersionf}}
 
{{SidemodVersionf}}
PixelMoney is a Sponge plugin, which means it is only for installation on servers. It requires both Pixelmon and SpongeForge to install. The plugin only needs to be in the mods directory of the server for it to run.
+
PixelMoney is a Sponge plugin, which means it is only for installation on servers. It requires that both Pixelmon and SpongeForge are installed, along with an economy plugin such as [https://ore.spongepowered.org/Erigitic/Total-Economy TotalEconomy]. The plugin only needs to be in the mods directory of the server for it to run.
#Download PixelMoney for your version of ''Minecraft'' [http://pixelmonmod.com/downloads.php here].
+
#Download PixelMoney for your version of ''Minecraft'' [https://pixelmonmod.com/downloads.php here].
 
#Place the jar inside the mods folder in the server root directory (in the same directory as SpongeForge).
 
#Place the jar inside the mods folder in the server root directory (in the same directory as SpongeForge).
 +
#If you are coming off of an older version, back up your current pixelmoney.conf and delete it so a new one is generated.
 +
#Copy/paste the default group and change whatever you want. Don't forget to change group's id, it must be unique.
  
 
==Usage==
 
==Usage==
A group-based reward can be created by using the same format as "group1", while modifying the group number (to "group2", "group3", etc. successively), weight, and "number-of-groups". Weight is the main identifier of groups; different weights can be set for different groups.
+
Assuming you are using LuckPerms as permission management plugin run the command below to allow players to receive rewards:
 +
 +
<code>/lp <user/group> <player/group> meta set pixelmoney:group <group-id></code>
 +
 
 +
Example: <code>/lp user DaeM0nS meta set pixelmoney:group default</code>
 +
 
 +
You can also set money multiplier for specific ranks or players when they're using pixelmoney features:
 +
 
 +
<code>/lp <user/group> <player/group> meta set pixelmoney:multiplier <multiplierAmount></code>
 +
 
 +
Example: <code>/lp user DaeM0nS meta set pixelmoney:multiplier 2.0</code>
 +
 
 +
==Configuration==
 +
Different reward templates can be created by using the same format as the sample provided in configuration file, copy and paste following the JSON format and remember to modify the reward template ID, it must be unique. The configuration file is commented so read the rest of information about configuration from there.
  
Rewards can be enabled by setting the <code>teits.pixelmoney.enable</code> and <code>teits.pixelmoney.weight.<''number''></code> permission nodes and changing the dimensions where the plugin will work in the config file.
 
 
 
==Commands==
 
==Commands==
 
{{CommandSyntax}}
 
{{CommandSyntax}}
*<code>/pixelmoney</code>: Base command.
+
*<code>/pixelmoney togglemsg</code> - <code>pixelmoney.command.toggle</code> -> Enable/disable reward messages.
**<code>reload</code>: Reloads configurations.
 
**<code>togglemsg</code>: Enable/Disable rewards messages.
 
  
===Permission nodes===
 
*<code>teits.pixelmoney.enable</code>: Permission to enable rewards.
 
*<code>teits.pixelmoney.toggle</code>: Permission to enable/disable reward messages.
 
*<code>teits.pixelmoney.reload</code>: Permission to reload config files.
 
*<code>teits.pixelmoney.weight.<''number''></code>: Permission to receive group based reward, where <code>number</code> is the weight of the group.
 
 
<!--
 
<!--
 
==Version history==
 
==Version history==
 
[[Version history/PixelMoney]]-->
 
[[Version history/PixelMoney]]-->
 
[[Category:Sidemods]]
 
[[Category:Sidemods]]

Latest revision as of 05:30, 7 May 2021

PixelMoney is a Pixelmon sidemod and Sponge plugin used to set cash rewards for beating Pixelmon trainers, as well as catching or defeating wild Pokémon.

Installation

Minecraft version Pixelmon version PixelMoney version
1.12.2 8.0.0+ 3.0.6
1.12.2 7.0.8+ 3.0.4
1.12.2 7.0+ 3.0.3
1.12.2 6.3+ 3.0.0
1.12.2 6.0+ 2.1.0
1.10.2 5.1.0+ 2.0.0

PixelMoney is a Sponge plugin, which means it is only for installation on servers. It requires that both Pixelmon and SpongeForge are installed, along with an economy plugin such as TotalEconomy. The plugin only needs to be in the mods directory of the server for it to run.

  1. Download PixelMoney for your version of Minecraft here.
  2. Place the jar inside the mods folder in the server root directory (in the same directory as SpongeForge).
  3. If you are coming off of an older version, back up your current pixelmoney.conf and delete it so a new one is generated.
  4. Copy/paste the default group and change whatever you want. Don't forget to change group's id, it must be unique.

Usage

Assuming you are using LuckPerms as permission management plugin run the command below to allow players to receive rewards:

/lp <user/group> <player/group> meta set pixelmoney:group <group-id>

Example: /lp user DaeM0nS meta set pixelmoney:group default

You can also set money multiplier for specific ranks or players when they're using pixelmoney features:

/lp <user/group> <player/group> meta set pixelmoney:multiplier <multiplierAmount>

Example: /lp user DaeM0nS meta set pixelmoney:multiplier 2.0

Configuration

Different reward templates can be created by using the same format as the sample provided in configuration file, copy and paste following the JSON format and remember to modify the reward template ID, it must be unique. The configuration file is commented so read the rest of information about configuration from there.

Commands

Note: Command syntax is displayed in the standard Minecraft command format. An explanation of this format can be found here.

  • /pixelmoney togglemsg - pixelmoney.command.toggle -> Enable/disable reward messages.

© 2012 - 2025 Pixelmon Mod