Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

6 Screenshots

  • 798
  • 4
  • 161.29 kB

About Map Voter

This plugin makes the admin’s life easier by automatically generating maps, initiating a vote that lets users choose which map they would like to play in during the next wipe.

Features:

Automatically generate  maps and start the vote ,every first Thursday of the month.

Automatically generate maps on wipe day using https://rustmaps.com/ & wipe-info-api and start the vote.

Allows players to vote on maps through an in-game UI or Discord (if you use any plugin that links a player and a Discord user, enable “only authenticated users can vote” in the config file to avoid duplicate votes).

Automatically checks if it’s wipe day using wipe-info-api and the plugin’s config.

Configure the plugin through a GUI (not all settings are available on the GUI).

Select maps from rustmaps.com through a GUI via a RustMaps share code.

Note :

This plugin does not include auto wipe script.
if you wish to  automatically restart and update the server  and wipes it on forced wipe or on schedule check the other version of Map voter.

 

Video

 

Discord_p8RoLbUl0Z.thumb.png.15f6b4e7bd41e73377be25f25a110057.png

Permissions:

MapVoter.use only allows an admin to generate maps and start a vote.

MapVoter.Manager allows an admin to use all the features.

Commands:

/mvote : Opens the plugin’s main GUI.

/startvote After selecting which maps will appear on the vote, starts the vote.

MapVoter.generate <Number of maps to generate> <seed> <voting duration in minutes>.

voteresult : Shows which map had won the vote.

Mapvoter.reload reload the plugin.

MapVoter.stopvoting : stops ongoing voting.

Discord commands:

!vote

!generate <Number of maps to generate> <seed> <voting duration in minutes>.

Configuration

{
  "Commands": {
    "Open MapVoter UI": "mvote",
    "Generate Mpas": "MapVoter.generate",
    "vote result": "voteresult"
  },
  "Options": {
    "Map size": 3500,
    "Disable UI": false,
    "RustMaps API key": "https://rustmaps.com/user/profile",
    "staging": false,
    "barren": false,
    "Stop voting after (minutes)": 60,
    "avatar url": "",
    "Discord footer": "",
    "filter Id": "Visit https://rustmaps.com/ and adjust your map requirements. In the red box above the settings hit the Share button,the string at the end of the URL is the filterId.Example URL: https://rustmaps.com/?share=gEU5W6BUuUG5FpPlyv2nhQ the string at the end in this case {gEU5W6BUuUG5FpPlyv2nhQ} is the filterId."
  },
  "Discord Settings": {
    "Discord Webhook": "https://support.discordapp.com/hc/en-us/articles/228383668-Intro-to-Webhooks",
    "Discord Apikey": "BotToken",
    "Discord Command Prefix": "!",
    "Discord Channels": [
      {
        "Discord Channel ID": "",
        "Commands": [
          "generate",
          "vote",
          "mapwipe",
          "bpwipe",
          "cancelwipe",
          "stopvoting",
          "update",
          "cancelupdate"
        ]
      }
    ],
    "Discord Command Role Assignment (Empty = All roles can use command.)": {
      "generate": [
        "DiscordRoleName",
        "DiscordRoleName2"
      ],
      "vote": [
        "DiscordRoleName",
        "DiscordRoleName2"
      ],
      "mapwipe": [
        "DiscordRoleName",
        "DiscordRoleName2"
      ],
      "bpwipe": [
        "DiscordRoleName",
        "DiscordRoleName2"
      ],
      "cancelwipe": [
        "DiscordRoleName",
        "DiscordRoleName2"
      ],
      "stopvoting": [
        "DiscordRoleName",
        "DiscordRoleName2"
      ],
      "update": [
        "DiscordRoleName",
        "DiscordRoleName2"
      ],
      "cancelupdate": [
        "DiscordRoleName",
        "DiscordRoleName2"
      ]
    }
  },
  "Auto Vote": {
    "Auto start vote": true,
    "Only Authenticated users can vote through discord": true,
    "Start voting at (HH:mm) 24-hour clock (UTC)": "17:00",
    "Number of maps to generate": 4
  },
  "Auto Wipe": {
    "Custom Map": {
      "Custom map": false,
      "Map URL": ""
    },
    "Map Wipe schedule": [
		7,
		14,
		21,
		28
	],
    "BP Wipe schedule": [
		0
	],
    "Enable Auto wipe": true,
    "Wipe BPs at forced wipe day": true,
    "Forced Wipe time (HH:mm) 24-hour clock (UTC)": "19:00",
    "Wipe time (HH:mm) 24-hour clock (UTC)": "19:00"
  }
}

Contact
kaysharp#2008

  • Like 1
 Share


kaysharp's Other Downloads


User Feedback

About Us

Codefling is a forward-thinking platform for developers to share and monetize their work from plugins to game assets and everything in-between.

10,981 files sold to 948 customers and $171,802 of 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.