SWEM Commands
Commands
A user can run SWEM commands if:
- They have commands (cheats) enabled on a singleplayer world.
- Have OP or relevant permissions (or rank) on a multiplayer server.
- [NEW] Have key(s) to preset command groups.
As of the 1.18 release, we have overhauled our commands to be more versatile as well as both user and server-friendly. Keys are a new feature with pre-set groups of commands that may not be intended for the average user, but have situations where specific people may need to use them. The system is similar to using permissions mods or plugins like LuckPerms, just specific to SWEM commands.
Basic Commands
These are commands that are accessible to all players by default.
Change Ownership
Transfer ownership must be used while riding a horse to have an effect - only the current owner can transfer ownership.
/swem horse transfer
Transfer a horse to another player (new owner).[playername]<playername>
Add Trusted Players
Using this command 'whitelists' player(s) to ride and interact with a horse that is set to Trusted only.
Trusted player commands must be used while riding a horse to have an effect.
/swem horse addfriend
Add a player to a horse's trusted list (must be the owner).[playername]<playername>
/swem horse removefriend
Remove a player from a horse's trusted list (must be the owner).[playername]<playername>
Tack Render CommandsUsingThis thesecommand commands, you can unrenderunrenders (makemakes invisible) tacktack. pieces. RepeatingRepeat the command willto render the(make tackvisible) onceit more.again. The effectIt is bothvisible to client and serverreflected side,on server, so unrendered or rendered tack is updatedupdates for both the player andusing those around them. The purpose of thisthe command anyone around. This can be used to represent tackless riding,riding OR foror filming of 'wild'wild horseshorses' if the playerrider hasis anmade invisibilityinvisible effectvia topotion controlor the horse.commands.
Tack render commands must be used while riding a horse to have an effect.
/swem render bridle
/swem render blanket
/swem render saddle
/swem render girth_strap
/swem render all
RRP Commands
Realistic Roleplay commands were were added with creators in mind to run animation on cue. Currently the animations are purely visual (have no effect or damage) and have other planned uses in future, or are currently used in game - such as bucking during taming. Looping animations (∞) will play continuously until the command is repeated, whereas other commands are a one-time animation with each use. Horses in looped animations will also return to that animation if another animation is triggered while they are in it. The transition between these animations will not be smooth (such as going from eating to rearing) unless the player cancels out the existing looping animation.
RRP commands must be used while riding a horse to have an effect.
/swem rrp bite
Horse will lunge forward into a bite once.
/swem rrp buck
Horse will buck once (as with taming).
/swem rrp eat
∞ Horse will lower their head into a looped grazing animation, and raise their head if run again.
/swem rrp kick
Horse will kick out with one rear leg.
/swem rrp lay
∞ Horse will lower themselves to the ground, and get up if run again (player 'floats' if riding)
/swem rrp rear
Horse will rear once.
/swem rrp sad
∞ Horse will lower it's head 'sadly' until run again. Walking will use a 'sad walk'.
/swem rrp stomp
Horse will half-rear up, lunging forward to stomp with their front hooves once.
Breeding Commands (1.18.2-1.4.0+)
If configured on servers, these commands will only be usable by OPs or those who have their permission nodes.
Breeding commands must be used while riding a horse to have an effect.
swem horse breeding advance
Advance a Mare's pregnancy - will birth shortly after.swem horse breeding change
Change a horse's gender between Stallion <--> Female
swem horse breeding geld
Change a stallion to a gelding (infertile male).swem horse breeding reset cooldown
Reset (to 0) the breeding cooldown timer.swem horse breeding reset pregnancy
Reset (remove) the pregnancy status of a Mare.
Filming Commands
If configured on servers, theseThese commands will only be usable byto OPsplayers or those who havewith the Film key.key.
Wild mode and Max Gallop commands must be used while riding a horse to have an effect.
Server Owners / Admins:Multiplayer: AsUse thisis featureNOT recommended for SMPs as it provides free tacktack, max affinity, OP gallop and maxescan affinitybe without training, it is highly recommended SMP servers that do not use our Keys to disable this via ranks or perm mods to prevent misuse. misused!
Wild Mode
Wild Mode is a combination of several commands aimed at helping content creators quickly create film-ready horses. The tack unrenderingvisibility is not permanent (will usually become visible again on re-logging) but skill effects are irreversiblepermanent without commands or re-training, thus should not be used on personal horses. It has NO effect on the rider. Must be used while riding a horse to have an effect.
- Instantly tames a wild horse
- Provides basic tack (gray western bridle, saddlepad, saddle and girth strap)
- Unrenders all tack
- Sets skills to maximum affinity (less refusals) and lowest speed and jump
/swem rrp wild
Max Gallop
Resets the gallop cooldown and sets the maximum gallop time to 120 seconds.
/swem rrp maxgallop
Moderator Commands
If configured on servers, theseThese commands will only be usable byto OPsplayers or those who havewith the Mod key.key.
Commands requiring a [playername] specified will need to be run while the intended player is online to work.
/swem horse tame
Instantly tame a nearby or ridden (wild) horse.
/swem horse tackup
Instantly tackup a horse with basic white Western tack.
/swem horse addfriend
Add a player to a horse's trusted list (even if not the owner).[playername]<playername>
/swem horse removefriend
Remove a player from a horse's trusted list (even if not the owner).[playername]<playername>
/swem horse transfer
Transfer a horse to another player (even if not the owner). [playername]<playername>
/swem set allNeeds
Set a horse's needs (health, hunger, thirst) to the specified value or level.[<1-5]5>
/swem set health
Set a horse's health value to the specified value (HP: 6 / 10 / 20 / 30 / 40) [<1-5]5>
Note: Will be capped by the maximum value allowed with the health skill.
/swem set hunger
Set a horse's hunger status to the specified level (1 - Starving / 5 - Fully Fed)[<1-5]5>
/swem set thirst
Set a horse's thirst status to the specified level (1 - Exsiccosis / 5 - Quenched)[<1-5]5>
Admin Commands
If configured on servers, theseThese commands will only be usable byto OPsplayers or those who havewith the Admin key.key.
Set level commands must be used while riding a horse to have an effect.
/swem set affinity <1-12>
Set the affinity skill [1-12]
/swem set health <1-5>
Set the health skill [1-5]
/swem set jump <1-5>
Set the jump skill [1-5]
/swem set speed <1-5>
Set the speed skill [1-5]
/swem set all <1-12>
Set all skills [1-12] Choosing 12 will max all skills fully.
OPAssigning CommandsKeys
OnlyKeys highlydo trustedNOT users should receive OP permsstack - thisyou givesneed aall level of access that overrides most basic restrictions.
Give KeysIf configured on servers,the keys will give any players assigned a key (or multiple) permissionrelevant to the commanddesired presetskeys above.(ie Admin does not inherit the commands of Mod).
As shown in the above sections, some SWEM commands are linked to a role 'key' to prevent misuse of some non-survival friendly commands on servers. Please read the below information carefully:
- Singleplayer (SP): All keys can be assigned via the
/swem key assign
command. - Multiplayer (MP): Admin keys must be assigned via console access only.
- MP (Essentials): Admin keys must be assigned prior to opening the world to other players.
- Players with the admin key can assign film and mod keys to other users without requiring OP.
/swem key assign
Give a player the film key.[playername]<playername> swem:film
/swem key assign
Give a player the mod key.[playername]<playername> swem:mod
/swem key assign
Give a player the admin key. MP: Must be assigned via console .[playername]<playername> swem:admin
/swem key revoke
Remove the film key from a player.[playername]<playername> swem:film
/swem key revoke
Remove the mod key from a player.[playername]<playername> swem:mod
/swem key revoke
Remove the admin key from a player.[playername]<playername> swem:admin
/swem key list
List the currently held keys.
Other
Summon
Summon is a vanilla Minecraft command that can also be used to summon modded entities. By default (unless a perms mod is used) these can only be used by players with OP.
/summon swem:swem_horse
Summons an (untamed) SWEM horse in a random color.
/summon swem:swem_horse ~ ~ ~ {HorseVariant:##}
Summons an (untamed) SWEM horse of a certain coat variant. Replace the ##
with the coats data value.
/summon swem:swem_horse ~ ~ ~ {NoAI: 1}
Summons an (untamed) SWEM horse with no AI. This means the horse will not move or function besides playing idles. It can still be ridden, but when unmounted or not being led it will just stand still.
/summon swem:wormieboi
Summons a wormie boi... a worm on a string!
/summon swem:swem_poop
Summons a pile of poop. This was not a typo.
Change Ownership
This vanilla command should no longer be needed in 1.18 with OP overrides to horse ownership (when set to none/trusted only) but it is noted in case of any issue with accessing a restricted horse.
/data modify entity @e[type=swem:swem_horse,sort=nearest,limit=1] Owner set value PLAYERSFULLUUIDHERE
- Stand near the target horse - move away any other nearby SWEM horses (to not accidentally edit their data instead)
- Find the UUID of a (OP) player, you can get it on a website like MCUUID, and edit the command
- Run the command. You can change the horse to All, mount it and use the normal transfer command
Changelog
View Changes
This is not a complete list of version changes / fixes. It is a changelog of relevant wiki-related version information.
MC Version | Release | Notes |
1.18.2 |
1.18.2-1.4.0 | Added /swem horse breeding commands for 1.4.0 Gender update. |
1.18.2-1.3.0-15 | Added /swem horse owner [player] command to list owned + named horses. | |
1.18.2-1.2.2 | Added /swem horse set commands for needs (part of new feed/water system) | |
1.18.2-1.0.0 |
Added render command for all (render or unrender all tack). | |
Added RRP commands for shake, scratch, buck, bit and stomp idles/animations. | ||
Merged the /swem horse setgalloptime and /swem horse resetgallop commands | ||
Changed /swem setlevel command to /swem set | ||
Changed /dev tackup and /dev tame to /swem horse category. |