works with
- Economics3.*
Permissions
heliscrap.use
- Allows player to use comand
Chat Commands
/callheli
- Default command (Configurable in config) Allows to call a patrol helicopter using scrap
Configuration
ChatPrefix
- Messages prefixCommand
- Chat commandScrap Amount
- Required scrap to call patrolUsePermission
- If enabld only players withheliscrap.use
are allowed to use this commandMaxSpawnedHelis
- Players can use the command if the spawned helis are below this
Default Configuration
{
"ChatPrefix": "<color=#eb4213>HeliScrap</color>: ",
"Command": "CallHeli",
"Scrap Amount (If Economics is enabled, use RP)": 100,
"UseEconomics": false,
"UsePermission": true,
"MaxSpawnedHelis": 1,
"Player Cooldown (in seconds)": 60,
"Global Cooldown (in seconds)": 30
}
Localization
{
"Success": "Heli called successfuly",
"MaxSpawnedHelis": "Max heli in bound reached",
"NoRequiredScrap": "You don't have {0} of scrap in your inventory",
"NoPermission": "You don't have required permission to use this command",
"Cooldown": "You need to wait {0} seconds to use this command",
"NoRequiredRP": "You don't have {0} of RP"
}
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.