About Wireless Power (✅️ Gesture Support)
xWirelessPower
xWirelessPower transforms how players interact with electrical devices (IO Entities).
Instead of running back to switches, rewiring circuits, or building complex control rooms, players can directly toggle supported powered entities simply by looking at them and using a command or even gestures - Creating a smoother, more responsive way to manage base systems.
In short: You can simply use electrical item (IO Entities) like ceiling light, sprinkler, auto turret etc. without requireing any wire or power.
Features
Instant Wireless Control
- Turn configured devices (IO Entities) ON or OFF just by looking at them with using a command or even gestures - No switches or wiring changes needed.
Optional Team Access
- Let teammates manage shared systems for easier group gameplay.
Perfect for Base Management
- Quickly control turrets, lights, signs, sprinklers, and more without running around your base.
Faster Reaction During Raids
- Activate defenses or adjust systems instantly when every second counts.
Fully Customizable
- Server owners can choose which devices are controllable and how the system behaves through config or even with chatcommadn "whoami". ShortPrefabName gets printed and saves it automatically to the confing with default value "false".
Permission Support
- Grant access to specific groups like VIPs, admins, or trusted players.
Optional Auto Power On
- Devices can automatically turn on when placed for smoother setup.
Performance Friendly
- Runs efficiently with minimal impact on server performance.
Plugin Preview
Chat Commands
/power - Toggle the IOEntity you’re looking at. /powerall - Toggles all IO entities you’re looking at. For example, when powerall is turned on and you look at an auto turret, all auto turrets will be turned off. /whoami - Prints the looked-at entity’s ShortPrefabName and adds it to your IOEntities list in config (default value = false).
Permission
xwirelesspower.toggle - If 'UsePermission' is true, permission is needed.
Config
{ "ToggleCommand": "power", "PowerAllCommand": "powerall", "GetItemNameCommand": "whoami", "UsePermission": false, "PermissionName": "xwirelesspower.toggle", "AllowTeamToggle": false, "MaxDistanceToggle": 5.0, "AutoTurnOn": true, "TurnOnOffWithGestures": true, "IOEntities": { "autoturret_deployed": true, "ceilinglight.deployed": true, "neonsigntr.deployed": true, "electric.sprinkler.deployed": true } }
- You can add as many IOEntities as you want, to get the correct name of it, just spawn/place it -> Look at it -> Use ChatCommand '/whoami' and add that shortname to your IOEntities list.
- ToggleCommand - Chat command players use to turn IO Entity on/off.
- PowerAllCommand - Chat command players can toggle to turn all IO Entities from same name on/off.
- GetItemNameCommand - Admin command to see the IO Entity internal name (ShortPrefabName), also saves that viewed at IOEntity automatically to config with default value "false".
- UsePermission - If ON, only players with permission has access to this wireless power system.
- PermissionName - The permission name.
- AllowTeamToggle - Lets teammates toggle each other’s IO Entities.
- MaxDistanceToggle - How close you must be to toggle (in meters).
- AutoTurnOn - Devices turn on automatically when placed.
- TurnOnOffWithGestures - As the config says, use any gesture to toggle IO Entity.
- IOEntities - List of devices that wireless power works with (true = enabled).
