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 "PixelEvent"

From Pixelmon Wiki
m (→‎Installation: Version fix.)
(Improved English and grammar and corrected it to be a Sponge plugin)
Line 1: Line 1:
PixelEvent is a [[Pixelmon]] [[sidemod]] for creating custom event in a limited time, where players need to make a specific action (Capture or Kill pokemon) with lots of customisation and reward them with a leaderboard system !
+
PixelEvent is a [[Pixelmon]] [[sidemod]] and [https://www.spongepowered.org/ Sponge] plugin for creating custom events within a limited time, wherein players need to make a specific action (either capturing or defeating Pokémon) and are rewarded according to a leaderboard system. The specific actions and rewards are entirely customizable.
  
 
==Installation==
 
==Installation==
Line 5: Line 5:
 
{{SidemodVersion|1.12.2|7.0+|5.2.2}}
 
{{SidemodVersion|1.12.2|7.0+|5.2.2}}
 
{{SidemodVersionf}}
 
{{SidemodVersionf}}
PixelEvent is Forge Sidemod, which means it's only server-side.
+
PixelEvent is a Sponge plugin, which means it's only server-side.
You need Pixelmon, GriefPrevention and SpongeForge to run it.
+
You need Pixelmon Reforged, GriefPrevention and SpongeForge to run it.
Grab the jar and put it on the mods folder, configuration will be in /config/PixelEvent
+
Download the plugin jar and put it in the mods folder. Configuration can be found inside /config/PixelEvent after the server is first started with the plugin.
  
 
==Usage==
 
==Usage==
First to all, you need to edit the config.cfg file, to change reward command (see [[PixelEvent#Reward configuration|reward module]]). To create easily the event, you can <code>/pea config</code> then follow the explanation. You can click on the message to make your choice. You can check what setting are made with <code>/pe info</code>. Then, if you think everything is good, start the event with <code>/pea start</code>. Example of event you can make :
+
First, the config.cfg file needs to be edited to change the reward command (see [[PixelEvent#Reward configuration|reward module]]). To quickly create the event, you can use <code>/pea config</code> then follow the explanation. You can click on the message to make your choice. You can check the existing settings using <code>/pe info</code>. Once you have finished configuring, start the event with <code>/pea start</code>.  
*Kill Rattata
+
 
*Kill a pokemon type Water
+
Example events:
*Capture a Pokémon of Fire type
+
*Defeat Rattata
 +
*Defeat a Water-type Pokémon
 +
*Capture a Fire-type Pokémon
 
*Capture a Caterpie
 
*Capture a Caterpie
*Capture a Caterpie with Ultra Ball
+
*Capture a Caterpie with an Ultra Ball
*Capture a Pokémon of Water type with Love Ball
+
*Capture a Water-type Pokémon with a Love Ball
  
 
==Commands==
 
==Commands==
 
{{CommandSyntax}}
 
{{CommandSyntax}}
 
===Player commands===
 
===Player commands===
* <code>/pixelevent score</code> (or <code>/pe score</code>) : Display the score you have.
+
* <code>/pixelevent score</code> (or <code>/pe score</code>) : Displays your score.
* <code>/pixelevent info</code> (or <code>/pe info</code>) : Display all informations of the event.
+
* <code>/pixelevent info</code> (or <code>/pe info</code>) : Display all information about the event.
* <code>/pixelevent leaderboard</code> (or <code>/pe leaderboard</code>) : Display the leaderboard.
+
* <code>/pixelevent leaderboard</code> (or <code>/pe leaderboard</code>) : Displays the leaderboard.
  
 
===Staff commands===
 
===Staff commands===
* <code>/pixeleventadmin wiki</code> (or <code>/pea wiki</code>): Send the URL of this wiki page.
+
* <code>/pixeleventadmin wiki</code> (or <code>/pea wiki</code>): Sends the URL of this wiki page.
* <code>/pixeleventadmin start</code> (or <code>/pea start</code>): Start the event.
+
* <code>/pixeleventadmin start</code> (or <code>/pea start</code>): Starts the event.
* <code>/pixeleventadmin stop</code> (or <code>/pea stop</code>): Stop the event and cancel it (No reward).
+
* <code>/pixeleventadmin stop</code> (or <code>/pea stop</code>): Stops the event and cancels it (No reward).
* <code>/pixeleventadmin settimer [time in minutes]</code> (or <code>/pea settimer [time in minutes]</code>): Change the time of your event.
+
* <code>/pixeleventadmin settimer <''time in minutes''></code> (or <code>/pea settimer <''time in minutes''></code>): Changes the time for your event.
* <code>/pixeleventadmin setball [name of the Ball]</code> (or <code>/pea setball [name of the Ball]</code>): Define a new ball for the event (MasterBall etc).
+
* <code>/pixeleventadmin setball <''name of the ball''></code> (or <code>/pea setball <''name of the ball''></code>): Define a new ball for the event (Master Ball etc).
* <code>/pixeleventadmin setpokemon [pokemon name]</code> (or <code>/pea setpokemon [pokemon name]</code>): Define a new pokemon for the event (Magikarp etc).
+
* <code>/pixeleventadmin setpokemon <''Pokémon name''></code> (or <code>/pea setpokemon <''Pokémon name''></code>): Define a new Pokémon for the event (Magikarp etc).
* <code>/pixeleventadmin settype [Pokemon type]</code> (or <code>/pea settype [Pokemon type]</code>): Define a new type for the event (Water etc).
+
* <code>/pixeleventadmin settype <''Pokémon type''></code> (or <code>/pea settype <''Pokémon type''></code>): Define a new type for the event (Water etc).
* <code>/pixeleventadmin setevent [Capture/Kill]</code> (or <code>/pea setevent [Capture/Kill]</code>): Define a new Event (Capture or Kill).
+
* <code>/pixeleventadmin setevent <''Capture/Kill''></code> (or <code>/pea setevent <''Capture/Kill''></code>): Define a new Event (Capture or Kill).
 
* <code>/pixeleventadmin reload</code> (or <code>/pea reload</code>): Reload the config and the lang file.
 
* <code>/pixeleventadmin reload</code> (or <code>/pea reload</code>): Reload the config and the lang file.
 
* <code>/pixeleventadmin debug</code> (or <code>/pea debug</code>): This command will tell you if your config is setup correctly, else it tells you the error in the config.
 
* <code>/pixeleventadmin debug</code> (or <code>/pea debug</code>): This command will tell you if your config is setup correctly, else it tells you the error in the config.
Line 59: Line 61:
 
|-  
 
|-  
 
|timer
 
|timer
|Set the timer of the event in minute.
+
|Set the timer of the event in minutes.
 
|5
 
|5
 
|-
 
|-
Line 67: Line 69:
 
|-
 
|-
 
|name
 
|name
|Name of the pokemon.
+
|Name of the Pokémon.
|All (That's mean every pokemon count for the event specified)
+
|All (That means every Pokémon counts for the specified event)
 
|-
 
|-
 
|type
 
|type
|Type of the pokemon.
+
|Type of the Pokémon.
|All (That's mean every type count for the event specified)
+
|All (That means every type counts for the specified event)
 
|-
 
|-
 
|ball
 
|ball
 
|Type of the ball.
 
|Type of the ball.
|All (That's mean every ball count for the event specified)
+
|All (That means every ball counts for the specified event)
 
|-
 
|-
 
|leaderboard
 
|leaderboard
Line 83: Line 85:
 
|-
 
|-
 
|enablebossbar
 
|enablebossbar
|Set true to display bossbar during the event.
+
|Set true to display boss bar during the event.
 
|false
 
|false
 
|}
 
|}
Line 95: Line 97:
 
|-  
 
|-  
 
|allowclaim
 
|allowclaim
|Set to true to allow event work in all claim.
+
|Set to true to allow the event to work in all claims.
 
|false
 
|false
 
|-
 
|-
 
|allowwilderness
 
|allowwilderness
|Set to true to allow event work in wilderness.
+
|Set to true to allow the event to work in the wilderness.
 
|true
 
|true
 
|-
 
|-
 
|enableclaim
 
|enableclaim
|Set this to allow custom claim to work for the event.
+
|Set to true to allow the event to work in custom claims.
 
|false
 
|false
 
|-
 
|-
 
|whitelistclaim
 
|whitelistclaim
|List of claim uuid that you want to make it work.
+
|List of claim UUIDs that you want to make the event work in.
 
|Empty list.
 
|Empty list.
 
|-
 
|-
Line 128: Line 130:
 
|-
 
|-
 
|rewardthirth
 
|rewardthirth
|Reward cmd for the thirth player.
+
|Reward cmd for the third player.
 
|give %player% minecraft:diamond 10
 
|give %player% minecraft:diamond 10
 
|-
 
|-
Line 140: Line 142:
 
|-
 
|-
 
|rewardplaying
 
|rewardplaying
|Reward cmd for the all player that do the event/Not execute to the top 5.
+
|Reward cmd for the all players that do the event and get above the minimum score and that aren't in the top 5.
 
|give %player% minecraft:diamond 1
 
|give %player% minecraft:diamond 1
 
|-
 
|-
 
|minscorerewardplaying
 
|minscorerewardplaying
|Set how many point players must have to get the rewardplaying reward.
+
|How many points players must have to get the rewardplaying reward.
 
|10
 
|10
 
|}
 
|}
  
 
===Lang configuration===
 
===Lang configuration===
You can edit message in the lang.cfg file.
+
You can edit messages in the lang.cfg file.
  
After saving, you can <code>/pea reload</code> to reload the lang !
+
After saving, you can <code>/pea reload</code> to reload the language file.
  
If you want to put color on your message, use color node <code>§</code>, exemple : <code>§aWell done !</code>
+
If you want to put color in your messages, use color node <code>§</code>, for example: <code>§aWell done!</code>
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
Line 172: Line 174:
 
|-
 
|-
 
|{mtimeleft}
 
|{mtimeleft}
|Remaining minute.
+
|Remaining minutes.
 
|-
 
|-
 
|{stimeleft}
 
|{stimeleft}
|Remaining second.
+
|Remaining seconds.
 
|-
 
|-
 
|{player}
 
|{player}

Revision as of 05:31, 4 June 2019

PixelEvent is a Pixelmon sidemod and Sponge plugin for creating custom events within a limited time, wherein players need to make a specific action (either capturing or defeating Pokémon) and are rewarded according to a leaderboard system. The specific actions and rewards are entirely customizable.

Installation

Minecraft version Pixelmon version PixelEvent version
1.12.2 7.0+ 5.2.2

PixelEvent is a Sponge plugin, which means it's only server-side. You need Pixelmon Reforged, GriefPrevention and SpongeForge to run it. Download the plugin jar and put it in the mods folder. Configuration can be found inside /config/PixelEvent after the server is first started with the plugin.

Usage

First, the config.cfg file needs to be edited to change the reward command (see reward module). To quickly create the event, you can use /pea config then follow the explanation. You can click on the message to make your choice. You can check the existing settings using /pe info. Once you have finished configuring, start the event with /pea start.

Example events:

  • Defeat Rattata
  • Defeat a Water-type Pokémon
  • Capture a Fire-type Pokémon
  • Capture a Caterpie
  • Capture a Caterpie with an Ultra Ball
  • Capture a Water-type Pokémon with a Love Ball

Commands

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

Player commands

  • /pixelevent score (or /pe score) : Displays your score.
  • /pixelevent info (or /pe info) : Display all information about the event.
  • /pixelevent leaderboard (or /pe leaderboard) : Displays the leaderboard.

Staff commands

  • /pixeleventadmin wiki (or /pea wiki): Sends the URL of this wiki page.
  • /pixeleventadmin start (or /pea start): Starts the event.
  • /pixeleventadmin stop (or /pea stop): Stops the event and cancels it (No reward).
  • /pixeleventadmin settimer <time in minutes> (or /pea settimer <time in minutes>): Changes the time for your event.
  • /pixeleventadmin setball <name of the ball> (or /pea setball <name of the ball>): Define a new ball for the event (Master Ball etc).
  • /pixeleventadmin setpokemon <Pokémon name> (or /pea setpokemon <Pokémon name>): Define a new Pokémon for the event (Magikarp etc).
  • /pixeleventadmin settype <Pokémon type> (or /pea settype <Pokémon type>): Define a new type for the event (Water etc).
  • /pixeleventadmin setevent <Capture/Kill> (or /pea setevent <Capture/Kill>): Define a new Event (Capture or Kill).
  • /pixeleventadmin reload (or /pea reload): Reload the config and the lang file.
  • /pixeleventadmin debug (or /pea debug): This command will tell you if your config is setup correctly, else it tells you the error in the config.
  • /pixeleventadmin addclaim (or /pea addclaim): When doing this in a claim, add the claim into the whitelist.
  • /pixeleventadmin removeclaim (or /pea removeclaim): When doing this in a claim, remove the claim of the whitelist
  • /pixeleventadmin config (or /pea config): Do this command for easy setup of the config, you can click on the text to valide your choice.
  • /pear : Change the config to do random event. You can add -capture to force event to be Capture, -kill and if you put -pokemon/-ball/-type it will force the option to be "all".

Permissions

Player nodes

  • /pixelevent: pixelevent.command.pixelevent

Staff nodes

  • /pixeleventadmin: pixelevent.command.pixeleventadmin
  • /pixelevent leaderboard (To bypass the config during the event): pixelevent.command.leaderboard

Configuration

General configuration

Option Description Default value
timer Set the timer of the event in minutes. 5
event Type of event (Capture or Kill). Capture
name Name of the Pokémon. All (That means every Pokémon counts for the specified event)
type Type of the Pokémon. All (That means every type counts for the specified event)
ball Type of the ball. All (That means every ball counts for the specified event)
leaderboard Set true to allow users to do /leaderboard during the event. false
enablebossbar Set true to display boss bar during the event. false

Area configuration

Option Description Default value
allowclaim Set to true to allow the event to work in all claims. false
allowwilderness Set to true to allow the event to work in the wilderness. true
enableclaim Set to true to allow the event to work in custom claims. false
whitelistclaim List of claim UUIDs that you want to make the event work in. Empty list.

Reward configuration

Option Description Default value
rewardfirst Reward cmd for the winner. give %player% minecraft:diamond 20
rewardsecond Reward cmd for the second player. give %player% minecraft:diamond 15
rewardthirth Reward cmd for the third player. give %player% minecraft:diamond 10
rewardfourth Reward cmd for the fourth player. give %player% minecraft:diamond 5
rewardfifth Reward cmd for the fifth player. give %player% minecraft:diamond 3
rewardplaying Reward cmd for the all players that do the event and get above the minimum score and that aren't in the top 5. give %player% minecraft:diamond 1
minscorerewardplaying How many points players must have to get the rewardplaying reward. 10

Lang configuration

You can edit messages in the lang.cfg file.

After saving, you can /pea reload to reload the language file.

If you want to put color in your messages, use color node §, for example: §aWell done!

Placeholder Description
{event} Replaced by capture/kill.
{pokemon} Name of the Pokémon.
{type} Type of the Pokémon.
{ball} Name of the ball.
{mtimeleft} Remaining minutes.
{stimeleft} Remaining seconds.
{player} Player's name.
{score} Score of the player.

© 2012 - 2025 Pixelmon Mod