Jump to content

crash

Creator Pro
  • Posts

    165
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by crash

  1. crash

    AutoRestart

    Do you'd like to use chat messages instead? Added.
  2. crash

    AutoRestart

    Not at the moment, i will push an update so its possible to do so. Added.
  3. crash

    AutoRestart

    Version 3.2.2

    879 downloads

    AutoRestart is an advanced and fully configurable plugin to facilitate automatic restarts of Rust servers, ensuring consistent performance and minimizing downtime through effective scheduling and notifications. The plugin has been tested in Pterodactyl and Wisp without problems. Windows could have problems due to how each administrator has configured their bat file and that may cause the plugin to not be able to start the server again. Main Features Interactive UI: Includes an interactive UI that allows administrators to modify all plugin settings easily. Scheduled Restarts: Configures automatic server restarts at defined intervals using UTC timezone for uniform scheduling. Discord Integration: Sends notifications to designated Discord channels to keep the community informed about restarts and server availability. Player Alerts: Notifies in-game through both UI and chat, with configurable countdowns (e.g., 60, 30, 10 minutes), including a visible final-minute countdown. Sound Alerts: Provides optional auditory notifications to accompany visual or chat alerts. Manual Admin Restarts: Administrators can initiate manual restarts with the /restart [seconds] command, including real-time alerts. Cancel Restarts: Allows administrators to cancel or reschedule restarts using the /restartstop command. Player Limit Protection: Prevents restarts during high player activity by setting a player count threshold. uMod Update Support: Automates checking for and applying uMod updates, followed by a server restart. Rewards System: Comprehensive reward system for players who connect after server restarts, supporting Economics, ServerRewards, and custom item rewards. Multilanguage messages: English, Spanish, Italian, Russian, Ukrainian, French, Portugues. Permissions autorestart.use - Allows use of basic restart commands autorestart.admin - Allows use of admin commands and configuration autorestart.vote - Allows participation in restart delay votes Chat Commands /restart: Shows current restart status and time remaining. /restart help (or /restart ?): Shows detailed help with all available commands and examples. /restart config: Opens the main configuration UI for administrators. /restart <time> (e.g., 30s/5m/1h): Schedules a manual restart for the specified time. /restart set <time>: Alternative syntax to schedule a restart (e.g., /restart set 30m). /restart now: Initiates an immediate server restart. /restart cancel: Cancels any scheduled restart. /restart status: Shows detailed restart information with UTC timestamps and restart type. /restart reload: Reloads the restart schedule from configuration file. Time Formats: 30s, 5m, 2h, or just 300 (seconds) Note: Most commands require administrator permissions except for basic status checking. Console Commands autorestart: Shows the time until the next scheduled restart. autorestart <time> (e.g., 30s/5m/1h): Schedules a manual restart for the specified time. autorestart now: Initiates an immediate server restart. autorestart cancel: Cancels any scheduled restart. autorestart status: Shows detailed restart information including scheduled time and remaining duration. autorestart set <time>: Alternative way to schedule a restart (e.g., autorestart set 30m). API Methods Available Hooks OnRestartScheduled Called when a restart is scheduled (both automatic and manual) void OnRestartScheduled(int seconds, bool isCustom) { // seconds: Time until restart in seconds // isCustom: true if manually triggered, false if automatic schedule Puts($"Restart scheduled in {seconds} seconds (Custom: {isCustom})"); } OnRestartCancelled Called when a restart is cancelled void OnRestartCancelled(string reason, int secondsRemaining = 0) { // reason: Why the restart was cancelled // secondsRemaining: How many seconds were left when cancelled (0 if not applicable) // Possible values: "Manual cancellation", "Too many players", "Plugin unload" Puts($"Restart cancelled: {reason}. {secondsRemaining} seconds were remaining."); } OnRestartWarning Called during countdown warnings (every significant interval) void OnRestartWarning(int secondsLeft) { // secondsLeft: Seconds remaining until restart // Called at: 60, 50, 40, 30, 20, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 seconds if (secondsLeft <= 10) Puts($"URGENT: Server restarting in {secondsLeft} seconds!"); } OnRestartInitiated Called right before the server restart process begins void OnRestartInitiated() { // Server save and quit commands will execute after this hook Puts("Server restart initiated - saving and shutting down now!"); } Config { "Version": "3.1.0", "Restart": { "RestartTimes": [ "12:00" ], "AlertSound": "assets/prefabs/locks/keypad/effects/lock.code.lock.prefab", "UseSound": true, "UseChatAlerts": true, "SkipWipeDays": false, "WipeDays": [] }, "PlayerRestrictions": { "MaxPlayersBeforeCancel": 10, "RestrictPlayerCount": false }, "Alerts": { "InGameWarningTimes": [ 30, 15, 10, 5, 3, 2, 1 ], "DiscordWarningTimes": [ 30, 15, 10, 5, 1 ] }, "UpdateCheck": { "CheckForUpdates": false, "CheckInterval": 600 }, "UI": { "UseCustomUI": false, "UseRustUI": true, "CustomUI": { "AnchorMin": "0 0.5", "AnchorMax": "0 0.5", "OffsetMin": "10 -45.9695", "OffsetMax": "177.325 46.7435", "CheckIcon": "✓", "CrossIcon": "✗", "CheckIconColor": "0.5568627 0.7764706 0.1843137 1", "CrossIconColor": "0.7764706 0.5137255 0.4196078 1", "TitleColor": "0.7607843 0.9058824 1 1", "MessageColor": "0.7607843 0.9058824 1 1", "IconColor": "0.3960784 0.7137255 0.9294118 1", "CurrentIcon": "Broadcast", "BorderType": "None", "CustomTitle": null, "CustomMessage": null, "BackgroundColorHex": "#5095C4", "TitleFontSize": 12, "MessageFontSize": 10 }, "GametipStyle": 1 }, "Discord": { "WebhookUrl": "https://discord.com/api/webhooks/your-webhook-id/your-webhook-token", "ServerName": "Rust Server", "DiscordNotifications": false, "UseFullMinuteCountdown": false, "MessageContent": "@everyone Server restart | @here | <@&role-id>", "BotName": "AutoRestart Bot", "BotAvatarUrl": "https://codefling.com/uploads/set_resources_13/cf0d9ad89a1246bdc528542aa98e2147_cf_logo_23_res.png", "Embeds": {}, "Embed": { "AuthorName": "Server Restart", "AuthorIconUrl": "https://codefling.com/uploads/set_resources_13/cf0d9ad89a1246bdc528542aa98e2147_cf_logo_23_res.png", "Title": "Scheduled Server Restart", "Description": "The server will restart in {0}", "ThumbnailUrl": "https://codefling.com/uploads/set_resources_13/cf0d9ad89a1246bdc528542aa98e2147_cf_logo_23_res.png", "FooterText": "Server Restart | {DateTime}", "FooterIconUrl": "https://codefling.com/uploads/set_resources_13/cf0d9ad89a1246bdc528542aa98e2147_cf_logo_23_res.png", "FieldTitle": "Server Info", "FieldContent": "The server will be back online in approximately 3-5 minutes", "ColorHex": "#FF9900" } }, "DisableDiscordCountdownMessages": false, "Rewards": { "EnableRewards": false, "UseEconomics": false, "UseServerRewards": false, "EconomicsAmount": 0.0, "ServerRewardsPoints": 0, "RewardTimeLimit": 300, "RewardItems": [] } } Lang { "Version": "3.1.0", "ChatRestartAlert": "<size=16><color=#B84A4A>SERVER RESTART SCHEDULED</color></size>\n<size=12><color=#F3E7B3>Time remaining: </color><color=#E45858>{0}</color></size>\n<size=10><color=#9AA297>Prepare accordingly and save your progress</color></size>", "ChatRestartCanceled": "<size=16><color=#9CFF1E>RESTART CANCELED</color></size>\n<size=11><color=#DBE2E9>The scheduled server restart has been </color><color=#9CFF1E>canceled</color></size>", "ChatRestartNow": "<size=18><color=#B84A4A>SERVER RESTARTING NOW</color></size>\n<size=12><color=#DBE2E9>Please reconnect in </color><color=#E45858>3-5 minutes</color></size>", "ChatRestartCanceledTooManyPlayers": "<size=16><color=#F3E7B3>RESTART POSTPONED</color></size>\n<size=11><color=#DBE2E9>Restart canceled due to </color><color=#E45858>high player count</color></size>", "NoRestartScheduled": "<size=14><color=#9AA297>NO RESTART SCHEDULED</color></size>\n<size=11><color=#DBE2E9>No automatic restart is currently planned</color></size>", "RewardEconomicsReceived": "<size=14><color=#9CFF1E>ECONOMICS REWARD</color></size>\n<size=11><color=#F3E7B3>Received: </color><color=#E45858>${0}</color><color=#DBE2E9> for staying online during restart</color></size>", "RewardPointsReceived": "<size=14><color=#9CFF1E>POINTS REWARD</color></size>\n<size=11><color=#F3E7B3>Received: </color><color=#E45858>{0} RP</color><color=#DBE2E9> for staying online during restart</color></size>", "RewardItemReceived": "<size=14><color=#9CFF1E>ITEM REWARD</color></size>\n<size=11><color=#F3E7B3>Received: </color><color=#E45858>{0}x {1}</color><color=#DBE2E9> for staying online during restart</color></size>", "RewardTimeLeft": "<size=12><color=#F3E7B3>Restart rewards active for </color><color=#E45858>{0}</color><color=#F3E7B3> more</color></size>", "RewardPeriodEnded": "<size=14><color=#B84A4A>REWARD PERIOD ENDED</color></size>\n<size=11><color=#9AA297>Restart rewards are no longer available</color></size>", "RustUITitle": "SCHEDULED SERVER RESTART", "RustUIMessage": "The server will restart in {0}.", "CustomUITitle": "SCHEDULED SERVER RESTART", "CustomUIMessage": "The server will restart in {0}.", "NoPermission": "You do not have permission to use this command.", "Usage": "Usage: /restart <time>[s|m|h] (e.g., 30s, 5m, 1h)", "InvalidNumber": "Invalid time format. Use <number>[s|m|h] (e.g., 30s, 5m, 1h)", "UpdateDetected": "A uMod update has been detected. The server will restart to apply the update.", "DiscordRestartAlert": " **SERVER RESTART**\nServer will restart in {0}.", "DiscordRestarting": " **RESTARTING**\nServer is restarting now. Please wait 5 minutes for the server to be back online.", "DiscordOnline": " **SERVER ONLINE**\nServer is now online and ready to play!", "TimeMinute": "minute", "TimeMinutes": "minutes", "TimeHour": "hour", "TimeHours": "hours", "TimeSecond": "second", "TimeSeconds": "seconds", "ConfigTitle": "AutoRestart UI Configurator", "DiscordSettings": "Discord Settings", "RewardSettings": "Reward Settings", "TimeSettings": "Restart Times Settings", "NotificationSettings": "Notification Settings", "Save": "Save", "Close": "Close", "Back": "Back", "SavedSuccessfully": "Configuration saved successfully!", "Search": "Search items...", "AllCategories": "All Categories", "CategoryWeapons": "Weapons", "CategoryTools": "Tools", "CategoryConstruction": "Construction", "CategoryItems": "Items", "CategoryResources": "Resources", "CategoryAttire": "Attire", "CategoryMedical": "Medical", "CategoryFood": "Food", "CategoryAmmo": "Ammunition", "CategoryTraps": "Traps", "CategoryMisc": "Miscellaneous", "CategoryComponents": "Components", "CategoryElectrical": "Electrical", "CategoryFun": "Fun", "ManageRewards": "AutoRestart - Reward Manager", "ItemSelector": "AutoRestart - Item Selector", "NoRewards": "No rewards configured. Click the 'Add Reward' button to add some.", "EnterQuantity": "Enter quantity for {0}", "AddReward": "Add Reward", "RemoveAll": "Remove All", "ConfirmRemoveAll": "Are you sure you want to remove all rewards?", "Yes": "Yes", "No": "No", "RewardAdded": "Added {0}x {1} to restart rewards.", "RewardRemoved": "Removed {0}x {1} from restart rewards.", "RewardUpdated": "Updated {0} quantity to {1}.", "InvalidItem": "Invalid item. Please try again.", "InvalidQuantity": "Please enter a valid quantity greater than 0.", "CategoriesReset": "Item categories have been reset to default values.", "TimesListTitle": "Restart Times (UTC)", "AddTime": "Add Time", "RemoveTime": "Remove", "InvalidTimeFormat": "Invalid time format. Please use HH:MM format (e.g., 04:30)", "AddWipeDay": "Add Wipe Day", "WipeDaysTitle": "Wipe Days (Restarts Skipped)", "WipeDayAdded": "Added {0} to wipe days. Restarts will be skipped on this day.", "WipeDayRemoved": "Removed {0} from wipe days.", "MessageSettings": "Message Settings", "EmbedSettings": "Embed Settings", "WebhookSettings": "Webhook Settings", "HelpTitle": "<size=18><color=#B84A4A>AUTORESTART COMMANDS</color></size>", "HelpUsage": "<size=12><color=#F3E7B3>Usage: </color><color=#E45858>/restart [command] [time]</color></size>", "HelpCommands": "<size=14><color=#9CFF1E>Available Commands:</color></size>", "HelpStatus": "<size=11><color=#F3E7B3>• </color><color=#DBE2E9>/restart</color><color=#9AA297> - Show current restart status</color></size>", "HelpSet": "<size=11><color=#F3E7B3>• </color><color=#DBE2E9>/restart set <time></color><color=#9AA297> - Schedule custom restart</color></size>", "HelpCancel": "<size=11><color=#F3E7B3>• </color><color=#DBE2E9>/restart cancel</color><color=#9AA297> - Cancel active restart</color></size>", "HelpNow": "<size=11><color=#F3E7B3>• </color><color=#DBE2E9>/restart now</color><color=#9AA297> - Restart server immediately</color></size>", "HelpStatusCmd": "<size=11><color=#F3E7B3>• </color><color=#DBE2E9>/restart status</color><color=#9AA297> - Show detailed restart info</color></size>", "HelpConfig": "<size=11><color=#F3E7B3>• </color><color=#DBE2E9>/restart config</color><color=#9AA297> - Open configuration UI</color></size>", "HelpReload": "<size=11><color=#F3E7B3>• </color><color=#DBE2E9>/restart reload</color><color=#9AA297> - Reload restart schedule</color></size>", "HelpTimeFormat": "<size=12><color=#F3E7B3>Time formats: </color><color=#E45858>30s, 5m, 2h</color><color=#9AA297> or just </color><color=#E45858>300</color><color=#9AA297> (seconds)</color></size>", "HelpExamples": "<size=14><color=#9CFF1E>Examples:</color></size>", "HelpExample1": "<size=10><color=#F3E7B3>• </color><color=#DBE2E9>/restart 30m</color><color=#9AA297> - Restart in 30 minutes</color></size>", "HelpExample2": "<size=10><color=#F3E7B3>• </color><color=#DBE2E9>/restart set 1h</color><color=#9AA297> - Schedule restart in 1 hour</color></size>", "HelpExample3": "<size=10><color=#F3E7B3>• </color><color=#DBE2E9>/restart 300</color><color=#9AA297> - Restart in 300 seconds</color></size>", "HelpAdminOnly": "<size=10><color=#B84A4A>Note: </color><color=#9AA297>Most commands require admin permission</color></size>", "InvalidCommand": "<size=14><color=#B84A4A>INVALID COMMAND</color></size>\n<size=11><color=#DBE2E9>Unknown command: </color><color=#E45858>{0}</color></size>", "RestartActiveError": "<size=14><color=#B84A4A>RESTART ALREADY ACTIVE</color></size>\n<size=11><color=#DBE2E9>Use </color><color=#E45858>/restart cancel</color><color=#DBE2E9> first to schedule a new one</color></size>", "NoRestartToCancel": "<size=14><color=#B84A4A>NO RESTART TO CANCEL</color></size>\n<size=11><color=#9AA297>There is no active restart to cancel</color></size>", "RestartCancelledSuccess": "<size=14><color=#9CFF1E>RESTART CANCELLED</color></size>\n<size=11><color=#DBE2E9>The restart has been </color><color=#9CFF1E>successfully cancelled</color></size>", "RestartScheduledSuccess": "<size=14><color=#9CFF1E>RESTART SCHEDULED</color></size>\n<size=11><color=#F3E7B3>Custom restart scheduled for </color><color=#E45858>{0}</color></size>", "ReloadingSchedule": "<size=14><color=#F3E7B3>RELOADING SCHEDULE</color></size>\n<size=11><color=#9AA297>Restart schedule is being reloaded...</color></size>", "ScheduleReloadedWithRestart": "<size=14><color=#9CFF1E>SCHEDULE RELOADED</color></size>\n<size=11><color=#F3E7B3>Next restart in: </color><color=#E45858>{0}</color><color=#F3E7B3> at </color><color=#E45858>{1}</color><color=#F3E7B3> UTC</color></size>", "ScheduleReloadedNoRestart": "<size=14><color=#F3E7B3>SCHEDULE RELOADED</color></size>\n<size=11><color=#9AA297>No restart currently scheduled</color></size>", "StatusTitle": "<size=16><color=#9CFF1E>RESTART STATUS</color></size>", "StatusNextRestart": "<size=14><color=#F3E7B3>Next restart in: </color><color=#E45858>{0}</color></size>", "StatusScheduledFor": "<size=11><color=#F3E7B3>Scheduled for: </color><color=#DBE2E9>{0}</color></size>", "StatusType": "<size=11><color=#F3E7B3>Type: </color><color=#DBE2E9>{0}</color></size>", "StatusTimeRemaining": "<size=12><color=#F3E7B3>Time remaining: </color><color=#E45858>{0}</color></size>", "StatusTotalSeconds": "<size=11><color=#F3E7B3>Total seconds: </color><color=#DBE2E9>{0}</color></size>", "TypeCustom": "Custom", "TypeScheduled": "Scheduled" }
    $15.99
  4. crash

    Easy explanation

    Hello, could it be possible to make a video explaining how to do a basic UI? im trying to even get a button out but i dont get it to work cus im dumb and i need some tutorial video to follow on :c
  5. crash

    Discord Link

    im getting this error, what could it be?
  6. getting this error when i have the "USE_DISCORD_MEMBER_DISPLAY_BOT": TRUE if i set it to false, it all works fine but not the discord member count.
  7. Correct
  8. No errors, the process just crashes/closes
  9. The program crashes after a few mins in my VPS, what could it be?
  10. I would buy this, however, discord extension is so laggy and messy isnt worth it
  11. then keep malding pal, developer decides the price on each page
  12. ? why criticize? the price is based on the audience that receives each page
  13. plugin updated, check it out
  14. crash

    Social Link

    just tried it and rcon commands arent working, did i miss something?
  15. crash

    Social Link

    nitro boost integration whEEN????
    BRILLIANT!!!!!!!!!!!!!!!!!
  16. crash

    Social Link

    please add support for nitro boosters
  17. crash

    Social Link

    If you add support for discord nitro perks like groups/permissions etc, i would buy this straight away.
  18. crash

    Player Ranks

    Yup, its fixed, other question, the part of MySQL support can be used to shot the stats on a page?
  19. Also here!
1.9m

Downloads

Total number of downloads.

8.9k

Customers

Total customers served.

131.4k

Files Sold

Total number of files sold.

2.7m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.