works with
Introduction
This plugin adds flashbang & molotov grenades to the game. More grenade types can be requested in the support thread.
Permissions
fancygrenades.useflash
=> Required permission for player to access the flashbang command.fancygrenades.usemolly
=> Required permission for player to access the molotov command.fancygrenades.ignoreflash
=> Players with this permission don't get flashed.
Chat Commands
/flash
=> Default command to purchase a flashbang./molly
=> Default command to purchase a molotov.
Console Commands
fg.give <flash/molly> <nameOrIdorIP>
=> Runs the grenade command for the target player.fg.givefree <flash/molly> <nameOrIdorIP>
=> Gives the target player a grenade for free.
Configuration
Note: Other in-game items can be used instead of scrap. Simply find the shortname of the item you want HERE and put it in the configuration file.
{
"General Settings": {
"Purchase Flashbang Command": "flash",
"Purchase Molotov Command": "molly",
"Message SteamID icon": 0
},
"Flashbang Settings": {
"Flashbang Grenade Name": "Stun Grenade",
"Flashbang SkinId": 815540662,
"Flashbang Range": 20,
"Flashbang Duration": 2.0,
"Disable flashing players who are not facing the grenade": true
},
"Molotov Settings": {
"Molotov Grenade Name": "Incendiary Grenade",
"Molotov SkinId": 856483901
},
"Pay Settings": {
"Cost Item (Scrap, ServerRewards, Economics)": "Scrap",
"Cost Amount (Disable Cost = 0)": 100
}
}
Localization
TODO
- Grenades that split into other grenades (explosions)
- Grenades that turn players to animals
- Round Selection UI
- Shop UI
- Dynamic flash function
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.