Search the Community
Showing results for tags 'dynamic'.
-
Version 1.0.5
212 downloads
The plugin gives ability to admins to create several configs for other plugins, and update them automatically depending on time passed since last wipe. Examples Example 1 You have loot spawn plugin, and you want that after two days from last wipe, loot spawn rules to be changed (more loot, or less loot). Example 2 You want no NPCs in your server at all in first 10 hours after wipe, and then part of NPC appear, and make after 2 more days, many more NPC should appear. How It Works Main Flow On load the plugin scans it's data directory, and detects last wipe. Checks if any of configs should already be applied (last ones that closer to current time). Once a minute it checks if some configs should be updated. Update Process Target plugin is unloaded. Its config is replaced. Target plugin is loaded again. Localization The default messages are in the DynamicConfig file under the oxide/lang/en directory. To add support for another language, create a new language folder (e.g. de for German) if not already created, copy the default language file to the new folder and then customize the messages. The default messages are in the DynamicConfig file under the oxide/lang/en directory. To add support for another language, create a new language folder (e.g. de for German) if not already created, copy the default language file to the new folder and then customize the messages. Plugin uses only console messages to RCON. They could be localized. Out of the box the plugin supports EN localizations. Usage If you want to add any dynamic config, you should do these steps: Copy plugin config to oxide/config/DynamicConfig directory the DynamicConfig must be manually created. Edit the config name to meet naming syntax (below). Edit the config itself to meet your needs. Reload Dynamic Config if you're done. You can edit dynamic configs contents without reloading Dynamic Config (if they are yet to be applied), the plugin only reads the filenames and schedules the update time. Naming [] - optional [<number>d][<number>h][<number>m]<PluginName>.json Examples 2dMagicLoot.json - will be applied after 2 days from last wipe (exactly 48 hours) 10h20mTestConfig.json - after 10 hours and 20 minutes 10d10hBotSpawn.json - guess yourselfFree- 1 comment
-
- 1
-
- #config
- #configuration
- (and 5 more)
-
Version 1.0.5
44 downloads
RUST AUTO WIPER Rust auto wiper is an advanced but simple-to-set-up Discord bot that makes your server wipes 100% automated! Features: 100% automates the server wipe process. Start map votes for the next wipe automatically. Manage wipes of as many servers as you need. Dynamically update server details on the wipe. (ex: server title, description) Deletes a selection of files and folders on the wipe. (ex: plugin data files) Sends wipe announcements. Updates server on the wipe. Set up wipe reminders. Information: This advanced server wipe system covers 100% of the wipe cycles on all your servers. The real power of this tool is that it's running separately from the server, this makes managing server files much easier when the server is offline. with this tool, you don't need batch files or other crap to get your server(s) wiped. This tool also uses cron intervals to determine the exact wipe dates and times. *Note: This tool must be run on a Windows VPS/Server* Configuration: (This example shows 1 server, but you can set up as many servers as you want) module.exports = { token: '', // Your Discord bot token rustMapsApiKey: '', // the rustmaps.io api key guildId: '984577959648174121', // the id of the discord server you want to use the bot in logChannelId: '1102195648683585616', // the id of the channel where the bot should log all actions dbdAccountId: '', // your dbd account id (get this by typing /license display in the support server) debugMode: true, // if true, the bot will log all actions to the console servers: [ // in this list your can add as many servers as you need { server_identifier: 'server1', // the unique identifier of the server. (used for internal purposes) server_name: 'Test Server', // the name of the server server_ip: '', // the ip of the server server_port: 28015, // the port of the server server_queryPort: 28017, // the query port of the server server_rconPort: 28016, // the rcon port of the server server_rconPassword: '', // the rcon password of the server server_modded: true, // if the server is modded or not (if plugins are used) wipe_Interval: '0 20 19 1/1 * ? *', // the interval of the wipe. (generate interval at http://www.cronmaker.com/) wipe_bpWipe: false, // if the wipe is a bp wipe or not files_serverRootPath: 'C:\\Users\\user\\Desktop\\rsmtesting', // the path to the main server folder. (where your start.bat is located) files_savesFolderPath: 'C:\\Users\\user\\Desktop\\rsmtesting\\server\\rsm', // the path to the saves folder. (where your map file is located) files_serverCfgPath: 'C:\\Users\\user\\Desktop\\rsmtesting\\server\\rsm\\cfg\\server.cfg', // the path to the server.cfg file files_startFilePath: 'C:\\Users\\user\\Desktop\\rsmtesting\\start.bat', // the path to the start.bat file files_oxideFolderPath: 'C:\\Users\\user\\Desktop\\rsmtesting\\oxide', // the path to the oxide folder files_excludeSafeFiles: ['logs', 'cfg', 'Log.EAC.txt'], // save files that should not be deleted on wipe. (always exclude cfg) files_deletables: [ // file paths that should be deleted on wipe. (use absolute paths) 'C:\\Users\\user\\Desktop\\rsmtesting\\oxide\\data\\Shop.json', 'C:\\Users\\user\\Desktop\\rsmtesting\\oxide\\data\\Referrals.json', 'C:\\Users\\user\\Desktop\\rsmtesting\\oxide\\data\\StaticLootables_data.json', 'C:\\Users\\user\\Desktop\\rsmtesting\\oxide\\data\\VanishPlayers.json', 'C:\\Users\\user\\Desktop\\rsmtesting\\oxide\\data\\Kits', ], vote_autoStart: true, // if the vote should start automatically vote_channelId: '1098325670687416331', // the id of the channel where the vote should be posted vote_StartAt: '0 0 19 1/1 * ? *', // the interval when the vote should start. (generate interval at http://www.cronmaker.com/) vote_endAt: '0 10 19 1/1 * ? *', // the interval when the vote should end. (generate interval at http://www.cronmaker.com/) vote_maps: ['1000_1', '1000_50000', '1000_1000'], // the maps that should be voted for. (always format the map name like this: 'mapSize_mapSeed') vote_mapCount: 3, // the amount of maps that should be voted for. the maps from the list will be randomly selected vote_multiple: true, // if players can vote for multiple maps update_dynamicTitle: true, // if the title should be updated dynamically update_serverTitle: 'Test Server wiped on {wipeDate} test1', // the title of the server. placeholders: {wipeDate} update_dynamicDescription: true, // if the description should be updated dynamically update_serverDescription: 'Test Server wiped on {wipeDate} test1', // the description of the server. placeholders: {wipeDate} // embed placeholders: {serverName} {mapSeed} {mapSize} {mapImage} {mapUrl} {wipeDate} {nextWipeDate} {nextBpWipeDate} {nextVoteDate} announcement_autoAnnounce: true, // if the announcement should be posted automatically after a wipe announcement_channelId: '1098325694930497607', // the id of the channel where the announcement should be posted announcement_content: '@ ping roles', // the content of the announcement. (can be used to ping roles) announcement_embedTitle: '{serverName} just wiped!', // the title of the embed announcement_embedDescription: '**Join Server:**\nSteam: steam://connect/{serverIp}:{serverPort}\nF1: `client.connect {serverIp}:{serverPort}`\n\n**Planned:**\nNext wipe: {nextWipeDate}\nNext BP wipe: {nextBpWipeDate}\nNext vote: {nextVoteDate}\n\n**Map:** [rustmaps.com]({mapUrl})', // the description of the embed announcement_embedColor: '#038CB5', // the color of the embed. (must be a hex color) announcement_embedImage: '{mapImage}', // the image of the embed announcement_embedFooterText: 'Server just wiped!', // the footer text of the embed announcement_embedFooterIcon: '', // the footer icon of the embed announcement_embedThumbnail: '', // the thumbnail of the embed announcement_embedAuthorName: '', // the author name of the embed announcement_embedAuthorIcon: '', // the author icon of the embed announcement_embedUrl: '', // the url of the embed reminder_autoRemind: true, // if the reminder should be posted automatically before a wipe reminder_Interval: '0 15 19 1/1 * ? *', // the interval when the reminder should be posted. (generate interval at http://www.cronmaker.com/) reminder_channelId: '1098325694930497607', // the id of the channel where the reminder should be posted reminder_content: '@ ping roles', // the content of the reminder. (can be used to ping roles) reminder_embedTitle: '{serverName} is about to wipe!', // the title of the embed reminder_embedDescription: 'Make sure to vote for the next map!', // the description of the embed reminder_embedColor: '#038CB5', // the color of the embed. (must be a hex color) reminder_embedImage: '', // the image of the embed reminder_embedFooterText: 'Server is about to wipe!', // the footer text of the embed reminder_embedFooterIcon: '', // the footer icon of the embed reminder_embedThumbnail: '', // the thumbnail of the embed reminder_embedAuthorName: '', // the author name of the embed reminder_embedAuthorIcon: '', // the author icon of the embed reminder_embedUrl: '', // the url of the embed }, ], }; Support: You can get support at my Discord server by clicking HERE!$30.00- 8 comments
-
- #wipe
- #automatic
-
(and 5 more)
Tagged with: