Hi, could someone make a plugin that whit certains vote runs a command, like i got an old KOTH plugin and i want like peaple do '/ctavote' and when it reaches like 30% or 45% (customizable if possible) it will run the command '/koth start CTA ' whit a counter so peaple can see how many votes is needed
Plugin Request Completed. There is one command: /ctavote If you type /ctavote, the percentage increases. There is a config option to change both the percentage and the command that is to be executed. You edit the config options in-game. To change the percentage (INGAME): Do /ctavote edit <percentage> To change the command to be executed (INGAME): Do /ctavote edit <command> If you change options in-game, they are saved to configuration automatically, so you don't need to run the command /ctavote reload. If you do edit the config file, you need to do /ctavote reload to make the changes go into effect. There is no permission required to do /ctavote To use /ctavote edit, you need to have the permission ctavote.admin If you wish to view the source code, open up the plugin jar file with a software called 'Luyten', but if you wish to view it on GitHub, go here. Thanks, have a great day! - TacticalAxis Oops, I misread the OP, and didn't see the bit about the counter, so I updated the plugin, here it is! EDIT: Also I assume you are working with 1.13
You dont even immagine how much i love u bro im so thankful i rl appreciate that ty a loot But i nead like set that it neds 15 votes EDIT by Moderator: merged posts, please use the edit button instead of double posting.