Commands 📝 - Athlaeos/ValhallaMMO GitHub Wiki

Command arguments in <> are required, command arguments in [] are optional

Command Permission Description
/val none The base command for ValhallaMMO features
/val help <page> valhalla.help Shows you all accessible /val commands
/val exp <skill> <amount> [player] valhalla.exp Allows you to give anyone any amount of any skill experience.
If no player is given, exp will be given to command sender
/val recipes valhalla.recipes Allows access to the recipe manager, allowing the user to create, edit, and delete recipes
/val recipes new <type> <recipename> valhalla.recipes Creates a new recipe of the given type with the given name.
The name must be unique
/val recipes edit <recipename> valhalla.recipes Directly brings up the recipe editor for the given recipe
/val recipes copy <recipename> <recipecopyname> valhalla.recipes Copies an existing recipe and gives the copy a new name.
Very useful if you need to make a large amount of similar recipes
/val profile <skill> [player] valhalla.profile or valhalla.profile.other Shows the sender a full list of skill stats.
valhalla.profile.other is required if another player is specified as target.
This command is unfinished, the resulting stat list doesn't look nice yet and cannot be translated
/val reset <type> [player] valhalla.reset Allows you to reset a player in a specific way.
skills_and_stats resets both permanent stat buffs and skill progress
skills_only resets only skill progress but leaves permanent stat buffs untouched
stats_only resets only permanent stat buffs but leaves skill progress untouched
skills_refund_exp resets skill progress, but refunds exp afterwards. Essentially this one just resets your unlocked perks and refunds skillpoints
/val skills <player> valhalla.skills or valhalla.skills.other Opens up your skills menu. valhalla.skills.other is required if another player is specified as target, in which case you will view said player's skill progress and be able to control it
/val modify <modifier> <args> [player] valhalla.modify Allows any item modifier to be executed on the held item. View Dynamic Item Modifiers for a list of modifiers that can be used
/val rewards <reward> <args> [player] valhalla.reward Allows any perk reward to be executed on you or the specified player. Perk rewards are ValhallaMMO's main way of distributing and managing stat buffs
/val attribute <attribute> <defaultvalue> [actualvalue] [hidden] valhalla.attribute Allows any ValhallaMMO custom attribute to be applied on the item. Attributes may have a default value and an actual value. The default value typically doesn't change, while the actual value may freely change (often relative to the default value). If no actual value is given, the actual value will default to the default value. If an attribute is hidden, it will not show up in the item's lore
/val potionattribute <effect> <defaultamplifier> <defaultduration> [actualamplifier] [actualduration] [charges] valhalla.potionattribute Like /val attribute, this command may be used to apply potion effects on items. Like regular attributes, potion effects may have a default value and an actual value on both the amplifier and duration. Effects on potions and consumables will only apply when consumed. Effects on other items will apply when used to hit an enemy with, which will diminish a charge if the item is given any. If charges hit 0, the effect is removed
/val effect <effect> <amplifier> <duration> [player] valhalla.effect Allows any custom potion effect to be applied on you or the specified player. Duration is in game ticks
/val loot valhalla.loottables Opens up the loot table manager for the sender
/val tool <tool> valhalla.tool Gives the sender a unique ValhallaMMO tool item. By default, only one is present:
- hardness_stick, a stick item that can be used to change the hardness of a specific block
/val armorsets valhalla.armorsets Opens up the armor set manager to the sender. Making an armor set basically just means you make an NBT tag items can be assigned and if a player wears enough pieces of armor with said NBT tag, the player gets a number of stat buffs. This NBT tag can be applied in the form of modifiers, either using /val modify or doing it in recipes/loot tables
/val items valhalla.items Opens up the custom item registry to the sender. The custom item registry is a collection of items used for administration, they can be given to players using /val give or used in modifiers in recipes/loot tables to replace the output with an indexed item
/val give <item> [amount] [player] valhalla.give Gives you or the specified player the given amount (or 1 if absent) of an indexed item. Indexed items may be viewed and managed in /val items
/val globalbuff add <effect> <duration> <amplifier> <mode> valhalla.globalbuffs Activates a temporary stat boost for everyone on the server. Can be used to, for example, boost skill EXP gain for a time. The mode determines how this command will treat existing active global buffs, can be any of the following:
- OVERWRITE, overwrites the previous active global buff entirely (if any)
- ADDITIVE_DURATION, adds the duration of the new global buff to the duration of the previous active global buff, leaving the amplifier untouched. Can be used to extend existing global buffs if the command is executed repeatedly
- ADDITIVE_AMPLIFIER, does the same as ADDITIVE_DURATION, but with the amplifier instead
- ADDITIVE_BOTH, adds both the duration AND amplifier of the new global buff to the duration and amplifier of the previous active global buff. Generally not recommended for usage, but you do you
/val globalbuff add <effect> <duration> <amplifier> <mode> <barcolor> <barstyle> <title> valhalla.globalbuffs Activates a temporary stat boost for everyone on the server, and displays the remaining duration of the buff as a boss bar. This boss bar is designed to be unintrusive and disappears and re-appears regularly (configured in config.yml). Example /val globalbuff add percent_skill_exp_gain 1w 0.2 ADDITIVE_DURATION PURPLE SOLID &d+20% Skill EXP &7for &e%time% starts a 1-week long +20% skill experience boost
/val resourcepack <arg> valhalla.resourcepack Valid Subargs:
- setup, configures your server.properties file to use ValhallaMMO's resource pack, installing it. If an IP and available port are given as well (not every host allows this) your server will instead self-host the resource pack, which allows you to edit it on the fly. This command also executes the functionality of /val resourcepack enable
- download, downloads a copy of the resource pack to your server files and messages you a download link
- enable, forces some hardcoded configuration settings, enabling things like custom GUI textures
- disable, disables the hardcoded resource pack configurations
- resetplayer, re-sends the resource pack to a specified player. Only works if resource pack is self-hosted
- reload, reloads the self-hosted resource pack and applies changes ingame
- stophost, stops the server from self-hosting the resource pack
/val saveall valhalla.saveall Saves all changes and player data to files
/val hardness <material> <hardness> Changes the default hardness of the given material
⚠️ **GitHub.com Fallback** ⚠️