MapRatingSystem 1.0.0

let your players rate your maps!

  1. dementisimus
    Native Minecraft Version:
    1.16
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    Languages Supported:
    German
    [​IMG]
    an easy && lightweight Plugin / and or API // for letting your players rate your maps!

    some impressions first

    [​IMG]


    [​IMG]
    [​IMG]
    [​IMG]

    [​IMG]

    features

    » easy
    installation && setup via console on server startup
    » possibility to choose between MongoDB, MariaDB or SQLite
    » automatic
    dependency installer - no need to download dependencies by yourself!
    » async
    » lightweight
    » caches used data for maximum performance
    »
    multilingual - by selecting the correct language for a player automatically
    »
    high scalability
    »
    a server (dementisimus.dev) where you can test it out
    » docs on docs.dementisimus.dev
    »
    Support @ Discord && SpigotMC (Discord preferred, so your question might help other people as well!)
    » issues can be reported here
    » have a look at coming features on GitHub!

    • API-usage
    Code (Text):

           <!-- dementisimus.dev-Repository -->
           <repository>
                <id>dementisimus.dev</id>
                <url>https://repo.dementisimus.dev</url>
            </repository>

            <!-- MapRatingSystem-1.0.0 by dementisimus -->
            <dependency>
                <groupId>dev.dementisimus.mrs</groupId>
                <artifactId>MapRatingSystem</artifactId>
                <version>1.0.0</version>
                <scope>provided</scope>
            </dependency>
     

    Code (YAML):
    #this you need to specify in your plugin.yml!
    loadbefore
    : [MapRatingSystem]


    Code (Java):
    // (optional!)
    // • initialize a listener for the RateMapEvent (https://docs.dementisimus.dev/MapRatingSystem/dev/dementisimus/mrs/api/event/RateMapEvent.html)
    @EventHandler
    public void onRateMap(RateMapEvent rateMapEvent) {
           //your code here
    }
    Code (Java):
    [example]
    // • initialize (this must be done in your onEnable-Method!) your Map by creating an instance of dev.dementisimus.mrs.api.MapRating
    // • add RatingTypes your players'll be able to vote for
    // • initialize the slots for your chosen RatingTypes
    // • set the slot on which the rate-map-item will be placed on
    // • set the material which will be used for the rate-map-item
    new MapRating("Amu", new RatingType[]{RatingType.TERRIBLE, RatingType.BAD, RatingType.OKAY, RatingType.GOOD, RatingType.AMAZING}, new Integer[]{0, 2, 4, 6, 8}, 4, Material.MAP /*or any other Item//RatingType, etc*/);
    » more information: (click)

    installation
    » [If your server's currently running, make sure you stop him, do NOT reload your server!]
    » put this plugin
    into your server's plugin-folder.
    »
    you can now start your server!

    install an update
    » download
    the new version and put it in your plugin-folder. Follow the instructions on the update post, if given.
    » restart or start [do NOT reload] your server.

    » Have fun!