/mmnm-role-assigner

Assign roles based on in-game statistics applied by the Mine Mine no Mi mod

Primary LanguageJavaGNU Affero General Public License v3.0AGPL-3.0

Discord Role Assigner

This Mine Mine no Mi Addon uses Discord Integration to synchronize the in-game stats with Discord as a Role.

It synchronizes:

  • Faction
  • Race
  • Fighting Style
  • Marine Rank
  • Revolutionary Rank
  • Mink Subrace

Important

In order for the addon to work several changes to the main Mine Mine no Mi mod had to be made.
Those changes have already been committed by me to the main mod and will be available with the next Mine Mine no Mi update.
Specifics can be found here.

It is imperative that for now this custom version is used. Changes in there are purely server sided. So only you need to install this version on your server.
Players can still use the normal Mine Mine no Mi Version.

I HAVE EXPLICIT PERMISSION BY THE CREATOR OF THE MINE MINE NO MI MOD TO REDISTRIBUTE THIS.
YOU DO NOT! THEREFORE EVERY FURTHER REDISTRIBUTION HAS TO HAPPEN BY REFERENCING TO THIS PAGE!

!!! A bit of competency is required to use this mod !!!
Do not be illiterate.
Read the instructions!

Compile it yourself

git clone https://github.com/rathmerdominik/mmnm-role-assigner
cd mmnm-role-assigner
cd libs
curl -L -O https://github.com/rathmerdominik/mine-mine-no-mi-modded/raw/main/release/mine-mine-no-mi-1.16.5-0.9.5-HAMMER.jar
cd ..
./gradlew build
cd build/libs

You can now just take the jar file out of this directory and place it under the mods/ folder on your server.

This mod requires Discord Integration 3.0.5 to be installed and setup on your server!

Config Options

#To disable a specific Role from syncing just do not change the ID on the config option
[Races]
    #Range: 0 ~ 9223372036854775807
    "Human Role Id" = 0
    #Range: 0 ~ 9223372036854775807
    "Mink Role Id" = 0
    #Range: 0 ~ 9223372036854775807
    "Cyborg Role Id" = 0
    #Range: 0 ~ 9223372036854775807
    "Fishman Role Id" = 0

[Mink Sub Races]
    #Range: 0 ~ 9223372036854775807
    "Bunny Role Id" = 0
    #Range: 0 ~ 9223372036854775807
    "Dog Role Id" = 0
    #Range: 0 ~ 9223372036854775807
    "Lion Role Id" = 0

[Factions]
    #Range: 0 ~ 9223372036854775807
    "Bounty Hunter Role Id" = 0
    #Range: 0 ~ 9223372036854775807
    "Revolution Army Role Id" = 0
    #Range: 0 ~ 9223372036854775807
    "Marine Role Id" = 0
    #Range: 0 ~ 9223372036854775807
    "Pirate Role Id" = 0

["Marine Ranks"]
    #Range: 0 ~ 9223372036854775807
    "Marine Lieutenant Role Id" = 0
    #Range: 0 ~ 9223372036854775807
    "Marine Commander Role Id" = 0
    #Range: 0 ~ 9223372036854775807
    "Marine Sea Man Role Id" = 0
    #Range: 0 ~ 9223372036854775807
    "Marine Commodore Role Id" = 0
    #Range: 0 ~ 9223372036854775807
    "Marine Chore Boy Role Id" = 0
    #Range: 0 ~ 9223372036854775807
    "Marine Petty Officer Role Id" = 0
    #Range: 0 ~ 9223372036854775807
    "Marine Vice Admiral Man Role Id" = 0
    #Range: 0 ~ 9223372036854775807
    "Marine Admiral Role Id" = 0
    #Range: 0 ~ 9223372036854775807
    "Marine Captain Role Id" = 0
    #Range: 0 ~ 9223372036854775807
    "Marine Fleet Admiral Role Id" = 0

["Revolutionary Ranks"]
    #Range: 0 ~ 9223372036854775807
    "Revolutionary Army Officer Role Id" = 0
    #Range: 0 ~ 9223372036854775807
    "Revolutionary Army Supreme Commander Role Id" = 0
    #Range: 0 ~ 9223372036854775807
    "Revolutionary Army Member Role Id" = 0
    #Range: 0 ~ 9223372036854775807
    "Revolutionary Army Commander Role Id" = 0
    #Range: 0 ~ 9223372036854775807
    "Revolutionary Army Chief of Staff Role Id" = 0

["Fighting Styles"]
    #Range: 0 ~ 9223372036854775807
    "Art of Weather Role Id" = 0
    #Range: 0 ~ 9223372036854775807
    "Brawler Role Id" = 0
    #Range: 0 ~ 9223372036854775807
    "Sniper Role Id" = 0
    #Range: 0 ~ 9223372036854775807
    "Black Leg Role Id" = 0
    #Range: 0 ~ 9223372036854775807
    "Doctor Role Id" = 0
    #Range: 0 ~ 9223372036854775807
    "Swords Man Role Id" = 0