Magic Balls
Cast spells and shoot elemental magic balls at your foes or friends!Features
- 3 unique spell types: Fireball, Waterball, and Earthball
- Each spell has distinct visual effects and damage types
- Customizable UI position for spell display
- Configurable damage values and cooldowns
- Status effects (burning, freezing, radiation)
- Animal damage multiplier
- Spell cycling system
- Permission-based spell access
Usage
- Grant required permissions
- Use /cast to enter casting mode
- Right-click to cast current spell
- Press R to cycle between spells
- Use /mbc to adjust UI position
Commands
- /cast - Toggle casting mode
- /mbc - Open UI control menu for spell text positioning.
The magic balls DO NOT collide with certain layers of the map.
Ground terrain
Rocks
Water
Monuments & Monument Buildings
Power Poles
The magic balls DO collide with these layers of the map.
NPC's (Animals, Scientists, Patrol Helicopters)
Players
Trees
Loot and misc terrain decor.
Building Blocks.
Above ground entities.
Permissions
- magicballs.fireball - Allows use of fireball spell
- magicballs.waterball - Allows use of waterball spell
- magicballs.earthball - Allows use of earthball spell
- magicballs.bypass.cooldown - Bypasses spell cooldown timer
Default Configuration
Code:
{
"Despawn Timer": 3.0,
"Velocity": 100.0,
"Cooldown": 1.0,
"Heat Amount": 2.0,
"Cold Amount": 2.0,
"Radiation Amount": 2.0,
"Animal Damage Multiplier": 4.0,
"Magic Ball Chat Messages": true,
"Show Spell UI": true,
"Base Damage": {
"fireball": 20.0,
"waterball": 15.0,
"earthball": 12.5
},
"Effect Duration": {
"fireball": 3.0,
"waterball": 4.0,
"earthball": 15.0
}
}
Default Data
Code:
{
"76561198022999999": {
"x": 0.0,
"y": 0.014
}
}
Default Language
Code:
{
"NoPermission": "<color=#FFA500>[Magic Balls]</color> You don't have permission to cast {0}!",
"Cooldown": "<color=#FFA500>[Magic Balls]</color> You must wait {0} seconds between casting spells!",
"FireballCast": "<color=#FFA500>[Magic Balls]</color> You cast a <color=#FF0000>fireball</color>!",
"WaterBallCast": "<color=#FFA500>[Magic Balls]</color> You cast a <color=#00BFFF>water ball</color>!",
"EarthBallCast": "<color=#FFA500>[Magic Balls]</color> You cast a <color=#00FF00>earth ball</color>!",
"CastingEnabled": "<color=#FFA500>[Magic Balls]</color> Casting Mode: <color=green>ENABLED</color>",
"CastingDisabled": "<color=#FFA500>[Magic Balls]</color> Casting Mode: <color=red>DISABLED</color>",
"SpellSelected": "<color=#FFA500>[Magic Balls]</color> Selected spell: <color={0}>{1}</color>"
}