If you want to customize visual elements of the mod, you can create your own custom resource pack.
Doing so will enable you to change or translate every text line used by the mod, and also change to default skin that is applied to all players (if the gamerule showSkins is set to true).
First steps
First, create a folder with your resource pack name (it can be whatever you want!). Then, inside of this folder, create a file named pack.mcmeta. This file is very important: it tells the game that it is indeed a resource pack.
Now, edit the pack.mcmeta file with your favorite text editor, and write the following:
{
"pack": {
"description": "An awesome description for an awesome resource pack",
"pack_format": 34
}
}
You can now close the pack.mcmeta file. Now, inside your resource pack's main folder, create a folder named assets, and inside it make another folder name molehunt.
To add a custom skin, first you need to make one. You can either use your own skin, or make a new one using a minecraft skin editor (there are a lot online).
Then grab your skin file (make sure it's a .png file!), name it skin.png and put it inside a textures folder, inside the molehunt folder. It should look like that:
To install it on your client, simply put your awesome resource pack in the resourcepacks folder of your .minecraft folder.
If you want, you can zip it to make sharing it easier, but it is not required.
Default en_us.json language file
Here's the default en_us.json file. You can use it as a template to customize the mod's text lines.
{
"commands.molehunt.error.game_not_started": "The Molehunt game has not been started yet.",
"commands.molehunt.timer.show": "Showing Molehunt timer.",
"commands.molehunt.timer.hide": "Hiding Molehunt timer.",
"commands.molehunt.role.mole": "Β§cYou are a Mole.\nKill all the survivors before the timer runs out.",
"commands.molehunt.role.mole.list": "Β§eThe moles are: %s",
"commands.molehunt.role.survivor": "Β§aYou are not the Mole. \nSurvive until the timer runs out, and try to discover who's the Mole.",
"commands.molehunt.role.survivor.mole_count": "Β§eThere are %d Β§emoles among you.",
"commands.molehunt.stop.success": "The Molehunt game has been stopped.",
"molehunt.game.end.suspense.title": "Β§eAnd the winners are...",
"molehunt.game.end.winners.moles.title": "Β§cThe Moles!",
"molehunt.game.end.winners.survivors.title": "Β§aNot the Moles!",
"molehunt.game.end.winners.subtitle": "Β§6The Moles were %s",
"molehunt.game.start.suspense": "Β§eYou are...",
"molehunt.game.start.mole.title": "Β§cThe Mole!",
"molehunt.game.start.mole.subtitle": "Β§eGet the list of moles with Β§6/molehunt roleΒ§e.",
"molehunt.game.start.survivor.title": "Β§aNot the Mole!",
"molehunt.game.start.survivor.subtitle": "Β§eTry to survive and find out who's the mole!",
"gamerule.molehunt:gameDuration": "Molehunt: Duration of a game",
"gamerule.molehunt:molePercentage": "Molehunt: Percentage of Mole",
"gamerule.molehunt:moleCount": "Molehunt: Number of Mole",
"gamerule.molehunt:showNametags": "Molehunt: Show players' nametag",
"gamerule.molehunt:showTab": "Molehunt: Enable the tab",
"gamerule.molehunt:showSkins": "Molehunt: Show players' skin",
"gamerule.molehunt:initialWorldSize": "Molehunt: Initial world size",
"gamerule.molehunt:finalWorldSize": "Molehunt: Final world size",
"gamerule.molehunt:borderMovingStartingTimeOffsetMinutes": "Molehunt: Time before moving the borders"
}