Voting (PocketVote)

ItzJNTZ

Tree Puncher
#1
Plugin: Voting (PocketVote)

What is PocketVote?

It is a plugin that runs commands automatically as soon as a player votes.​


Setup

Setting it up is not a challenging task, but it needs to be done carefully in order for it to work.​
To set it up, you need to do the following steps:​

  1. Go on the Leet app, enter the plugins section then click on Voting. This will show you your "Secret Key". I recommend to write the code down.
  2. Go to one of the server advertising websites (minecraftpocket-servers.com, minecraftlist.org/pe-servers, minecraft-pe-servers.com, minecraftpe-servers.com)
  3. If you have already registered your server, go into the editing menu. While you’re in there, look for a section about “Voting code” or “PocketVote”. If you have not registered your server, register it, and while you are filling the information out, find the section about “Voting Code” or “PocketVote”.
  4. When you get to the box that asks for the code, put the code in. The code should copied exactly as it is in the Leet app as it is case-sensitive.
  5. Add commands on your server. Follow the information below.

Main Commands

To manage commands that are executed ONLY when the user is online, you need to use the following commands:

/pv cmdo add <command>
Adds a new command that runs when the player is online
/pv cmdo remove <command id>
Removes a command that runs when the player is online
/pv cmdo list
Lists the ids and commands that run when the player is online

To manage commands that are executed when the player is offline, you need to use the following commands:

/pv cmd add <command>
Adds a new command that runs immediately when the player votes
/pv cmd remove <command id>
Removes a command that runs immediately when the player votes
/pv cmd list
Lists the ids and commands that run immediately when the player votes


Other Commands

/pocketvote link <name>
Attempts to set your MCPE.guru link to the provided name. Your link will look something like this mcpe.guru/[name].
/vote
Shows the MCPE.guru voting link associated with the server.
/guru
Shows the guru command help
/gulist
Lists links you've created, use this to find link ids
/guadd [optional title] <link>
Adds a link to your servers MCPE.guru link
/gudel <link ID>
Deletes the specified link. The id is obtained using /gulist


Main Permissions

pocketvote.admin -​
Description: Allows user to use the /pv (/pocketvote) command​
Default: op​
pocketvote.vote -​
Description: Allows user to use the /vote command​
Default: true​


Extra Information
  • Name set for PurePerms: PocketVote
  • Plugin Cost: 99 credits
  • Plugin Developer: @ProjectInfinity

Tags

This is a list of tags that you can use.​

  • %player- This is replaced by the player's username.
  • %site- This shows the site that the player voted on.

Examples

This is an example of the command you run to add a command:
/pv cmd add give %player apple 12​
That just gave the player 12 apples automatically.
This is an example of the command you run to remove a command:
/pv cmd remove 1​
This removed the command that is number one on your added commands list.
This is an example of the command you run to get a list of added commands:
/pv cmd list​
This will show the command in a list.
The following is an example of the list:​
1. say Thanks for voting %player!​
2. givemoney %player 1000​
3. setgroup %player VIP​

Note: cmdo is also formatted in the same way. Just replace cmd with cmdo.​

Tutorial made by @Cder and updated by @ItzJNTZ