i would like a plugin that just gives random thing issued by a commands so basically it will be used for buycraft as a gamble or any other good ideas i come up with,
Basically the plugin will work like so, an command will run like /jcrandom {player} {menuname} now that player will get random items or command that is in the config, i would like to have a way to run the command for all online players exp /jcrandom *Online {menuname}
Basic config message: <player> just received something random
Test: #menu name
commands: # any one of these commands will be executed randomly
- give <player> 378:8193 1 {chance} - 1 - 100
- give <player> 378:8194 1 {chance} - 1 - 100
- give <player> 378:8259 1 {chance} - 1 - 100
- give <player> 378:8260 1 {chance} - 1 - 100
- give <player> 378:8229 1 {chance} - 1 - 100
- give <player> 378:8262 1 {chance} - 1 - 100
Test2: #menu name
commands: # any one of these commands will be executed randomly
- give <player> grass 64 {chance}
- give <player> dirt 64 {chance}
- give <player> diamond 64 {chance}
- give <player> emerald 64 {chance}
- give <player> cobblestone 64 {chance}
- give <player> stone 64 {chance}
Plugin Name: Jcrprize
Commands: should be executable via console, OP should not have permissions as default
Time: today if possible
Contact: PM with you skype and price
Premissions: Jcrp.admin
Also someone suggested the following:
Basically the plugin will work like so, an command will run like /jcrandom {player} {menuname} now that player will get random items or command that is in the config, i would like to have a way to run the command for all online players exp /jcrandom *Online {menuname}
Basic config message: <player> just received something random
Test: #menu name
commands: # any one of these commands will be executed randomly
- give <player> 378:8193 1 {chance} - 1 - 100
- give <player> 378:8194 1 {chance} - 1 - 100
- give <player> 378:8259 1 {chance} - 1 - 100
- give <player> 378:8260 1 {chance} - 1 - 100
- give <player> 378:8229 1 {chance} - 1 - 100
- give <player> 378:8262 1 {chance} - 1 - 100
Test2: #menu name
commands: # any one of these commands will be executed randomly
- give <player> grass 64 {chance}
- give <player> dirt 64 {chance}
- give <player> diamond 64 {chance}
- give <player> emerald 64 {chance}
- give <player> cobblestone 64 {chance}
- give <player> stone 64 {chance}
Plugin Name: Jcrprize
Commands: should be executable via console, OP should not have permissions as default
Time: today if possible
Contact: PM with you skype and price
Premissions: Jcrp.admin
Also someone suggested the following:
A better implementation for this plugin could be a command that works as such:
Code:/chance <chance/100> <command>
So that developers won't have to recode the give (or any other) command to add the extra chance argument.
The plugin would roll the %chance defined in the first argument and if it triggers then execute the given command as console.
