depends on
Works with
About The Red Button
Just a small plugin with a button to troll your players with A fun game . with some punishments on button press
punishments is set to random with a weight value (higher the number the more change of spawn . 0 means don't spawn)
just a fun way to troll your players
Permissions
TheRedButton.use (player with this permission can use the commands)
TheRedButton.admin (player with this permission can use the UI)
Chat Commands
/button - Spawns button in player INV
/buttonui - opens the UI // can be bound . ex. bind "p" chat.say /buttonui
/spawnbutton - spawns button where you look and facing towards you (only works for IsAdmin tag) ex .auth 1 and 2
/clearallbuttons - deletes all buttons on server (admin only)
Placeholders
- {playername}
- {playerid}
- {playerlocation}
- {timeremaining} //Lang file only
- {cooldowntotal} //Lang file only
Config
{
"1. Sign Picture URL": "www.noobhub.co.za/dont.png",
"2. Timed C4 (false will be instant explosion": true,
"3. Use random location for swim location": true,
"4. Broadcast Button Action to Server": false,
"5. Custom Command 1 : Command": "giverank {playerid}",
"6. Custom Command 1 : Message": "Just got a Rank",
"7. Cooldown Time on Button Press": 5, // setting 0 will disable cooldown
"8. Use Payback Plugin Punishments": false,
"Bear": 3,
"C4": 3,
"Cactus": 2,
"Custom Command 1": 0,
"Fall": 4,
"Landmine": 2,
"Radiation": 2,
"Scientist": 3,
"Scarecrow": 0,
"Scrapheli": 2,
"Slap": 4,
"Swim": 3,
"Chickens": 2,
"Mlrs": 1,
"PVELord": 1,
"ExplosiveDiarrhea": 2,
"Payback:Naked": 2,
"Payback:Rocketman": 2,
"Payback:Shark": 2,
"Payback:Shocker": 2,
}
The numbers assigned to punishment is the weight value. the higher the number the higher chance of spawn . Rule of thumb 1-10 . 0 will cancel that punishment
LangFile
{
"FallMessage": "Fell From 50meters High",
"SwimMessage": "Went for a Swim",
"ScarecrowMessage": "Found that Tinder only has Scarecrows",
"ScrapheliMessage": "Helicopters are Heavy . ACME style Murder",
"CactusMessage": "Found a Cactus and poke his way to heaven",
"C4Message": "Made a new Friend , C4",
"BearMessage": "Noticed that YogiBear is no fun in 3's",
"ScientistMessage": "Playing with A Scientist that loves him",
"LandmineMessage": "Needs to dance or DIE!!!!",
"RadiationMessage": "Bit a Nuclear Rod",
"SlapMessage": "Lost 90 Health",
"MlrsMessage": "could not hold on to that rocket",
"DiarrheaMessage": "and will never eat Taco's again !!",
"ChickensMessage": "got a Winner,Winner and is now chicken dinner",
"ButtonCooldownMessage": "Button is on a cooldown for you. Try again later . {timeremaining} remaining from {cooldowntotal} Min's",
"Payback:RocketManMessage": "and found himself singing Rocketman from Elton John",
"Payback:SharkMessage": "will never order Sushi again",
"Payback:NakedMessage": "lost all his stuff",
"Payback:ShockerMessage": "had a shocking experience"
}
Punishments
- c4 locked to player
- slap player with -90 health
- fall TP player up in air
- swim TP player way out in ocean
- bear spawns 3 bears
- scarecrow spawns 3 scarecrows
- radiation makes plyer burn :d
- landmine spawns landmine under player
- cactus kills player with a cactus
- scrapheli drops heli on player
- scarecrow spawns 3 scarecrows // requires Better Scarecrows to work ( https://umod.org/plugins/better-scarecrows )
- mlrs drops 3 rockers on player
- pvelord send player to ether Cargo or Oilrigs
- chickens do i even need to state the obvious
- explosivediarrhea Poop till you drop
- CustomCommand 1 what ever you want (consolecommand)
Future Plans
- ability to pickup button
- more punishments and ability to choice your own
Video preview
The button in action . Provided by Enardo . Much love brother