This resource is currently unavailable for new purchases
The main purpose of the plugin is sending notices when player is being raided.
Notice contains information about what entity is destroyed, by what cordinates and if there is a sethome location near and what player is doing that.
If you have any issues, feel free to write to the support thread
or contact me in discord https://discord.gg/vNxPh4R
Can send raid notice to:
- chat, if player is online
- discord to player directly, Client API plugin is provided inside
- telegram to player directly
- steam to player directly (difficult to configure, please do not consider this the main feature)
- http://vk.com social network
how it looks like in chat on server
How it works, there are several ways (you should choose one of these):
- based on information who is owner/placed the building block or the object (notifyOnlyOwner config option)
- based on who are if owner of the raided building has friends and notify them all (notifyFriends config option)
- notify the clan of raided building (notifyClanButNotFriends config option)
- last one is notify all players that has building auth in raided building (notifyOnlyByBuildingPrivlidge config option), additianally can now send notice to owner when cupboard destroyed
Additional options:
- it won't ever send your a notice if you're destroying your own house (if you didn't set it in the config - notifyOnSelfRaid options)
- if you have set home near destroyed object, you'll receive this info (n-teleportation plugin needed with checkForHomesNear option)
Permissions:
- raidnotice.canonline - notice can be sended to chat if player is online
- raidnotice.canvk - notice can be sended to vkontakte
- raidnotice.candiscord - notice can be sended to discord
- raidnotice.cantelegram - notice can be sended to telegram
- raidnotice.cansteam - notice can be sended to steam by bot
What you need to setup to make the plugin work width Discord:
Player commands:
/rn disable - remove discord/vk accounts tied to you
/rn vk https://vk.com/page - tie vk user
/rn discord "nickname#id" - tie user from discord server
/rn telegram add - tie user from telegram
Admin commands:
/raid.emu - prints debug info about looking at entity
Configuration File:
Configuration File for Discord API:
The main purpose of the plugin is sending notices when player is being raided.
Notice contains information about what entity is destroyed, by what cordinates and if there is a sethome location near and what player is doing that.
If you have any issues, feel free to write to the support thread
or contact me in discord https://discord.gg/vNxPh4R
Can send raid notice to:
- chat, if player is online
- discord to player directly, Client API plugin is provided inside
- telegram to player directly
- steam to player directly (difficult to configure, please do not consider this the main feature)
- http://vk.com social network
how it looks like in chat on server
How it works, there are several ways (you should choose one of these):
- based on information who is owner/placed the building block or the object (notifyOnlyOwner config option)
- based on who are if owner of the raided building has friends and notify them all (notifyFriends config option)
- notify the clan of raided building (notifyClanButNotFriends config option)
- last one is notify all players that has building auth in raided building (notifyOnlyByBuildingPrivlidge config option), additianally can now send notice to owner when cupboard destroyed
Additional options:
- it won't ever send your a notice if you're destroying your own house (if you didn't set it in the config - notifyOnSelfRaid options)
- if you have set home near destroyed object, you'll receive this info (n-teleportation plugin needed with checkForHomesNear option)
Permissions:
- raidnotice.canonline - notice can be sended to chat if player is online
- raidnotice.canvk - notice can be sended to vkontakte
- raidnotice.candiscord - notice can be sended to discord
- raidnotice.cantelegram - notice can be sended to telegram
- raidnotice.cansteam - notice can be sended to steam by bot
What you need to setup to make the plugin work width Discord:
- setup your server
- invite users
- register bot application for server https://discordapp.com/developers/applications/me
- authorize your bot https://discordapp.com/oauth2/authorize?client_id=YOUT_BOT_CLIENT_ID&scope=bot&permissions=8
- Auth bot with gateway.html provided
- Save DiscordApi config and reload the plugin
- You should
- User joined discord server can setup in-game his discord account by command /rn discord HisNickName#his_id
- when ONLY HIS HOUSE get raided - he'll get a message
- register bot in https://telegram.me/botfather
- save token to config
- players must run in-game command and send auth-code to your bot
- Please do not consider this the main feature. At first - this is work in progress and an experiment and additional cool feature, so please, expect bugs and that it not cover all the shit could happen with steam or so on...
- you should have steam account for each server that will send notices
- this account should have enough friends and spent 5$ (steam requirement)
- you should run anywhere all the time NODEJS application, provided with plugin
- just run it "nodejs index.js" (meaning you should run npm install at first and having nodejs installed), one application can stand for a few your servers, BUT with different steam bot accounts ONLY, this script should be running all the time
- on first run, it will generate config, you should copy "apiKeyAddServer" from it
- edit raidnotice.json config and paste here "apiKeyAddServer" from previous step to "SteamBotServerKeyAdd"
- SteamBotUrl - write "http://YOUR_IP_WHERE_NODEJS_APP_RUNNING:PORT_NODEJS_SAID"
- SteamBotServerMainKey - don't touch
- SteamApiKey - take here http://steamcommunity.com/dev/apikey
- fill in SteamBotLogin, SteamBotPassword, SteamBotSteamId, SteamBotName - name that will be should in steam
- you need to turn off steamguard for this account or enter auth code on bot start in nodejs app window
- now you can turn on sendSteam option
- if your bot came online and stays - all ok, but there can be issues still
- for vkontakte you must get token from your group options from "Callback API"
- player must run command /rn vk https://vk.com/his_url_page
- player must send at least one message to your group
Player commands:
/rn disable - remove discord/vk accounts tied to you
/rn vk https://vk.com/page - tie vk user
/rn discord "nickname#id" - tie user from discord server
/rn telegram add - tie user from telegram
Admin commands:
/raid.emu - prints debug info about looking at entity
Configuration File:
Code:
{
"Homes": {
"checkForHomesNear": true,
"homeDistance": 60.0
},
"RaiderName": {
"showRaiderName": true,
"showRaiderNameOnlyPermission": false,
"showRaiderNamePermission": "raidnotice.showraidername"
},
"Settings": {
"includeDateTimeToMessage": true,
"noticePrefabsContainsWords": [
"door",
"window.bars",
"window.glass",
"floor.ladder.hatch",
"floor.frame",
"floor.grill",
"wall.frame",
"shutter",
"external"
],
"notifyClanButNotFriends": false,
"notifyFriends": false,
"notifyOnlyByBuildingPrivlidge": true,
"notifyOnlyOwner": false,
"notifyOnSelfRaid": false,
"notifyOwnerIfNoBuildingPrivlidge": true,
"sendDiscord": true,
"sendDiscordIfOnline": false,
"sendNextNoticeInterval": 10.0,
"sendNextNoticeIntervalIfOnline": 30.0,
"sendOnline": true
},
"Steam": {
"sendSteam": false,
"sendSteamIfOnline": false,
"SteamApiKey": "",
"SteamBotLogin": "",
"SteamBotName": "",
"SteamBotPassword": "",
"SteamBotServerKeyAdd": "",
"SteamBotServerMainKey": "",
"SteamBotSteamId": "",
"SteamBotUrl": "http://..."
},
"Telegram": {
"sendTelegram": false,
"sendTelegramIfOnline": true,
"telegramToken": ""
},
"Vkontakte": {
"sendVk": false,
"sendVkIfOnline": true,
"vkGroup": "https://vk.com/groupName",
"vkToken": ""
}
}
Configuration File for Discord API:
Code:
{
"BotToken": "Bot 546546456456",
"DefaultChannelID": 111111111, //set here any of your channels, raid notice isn't using it
"GuildID": "45435345", //your guild (discord server) ID
"GuildMembersEverySeconds": 3600 //every X seconds get members of guild
}