Better Commands
Adds commands and syntax from a certain other voxel game (such as /kill @e[type=mobs_mc:zombie, distance = 2..]
) to Minetest. For compatible command blocks, use my Better Command Blocks mod. I'm basically copying them from a certain other voxel game (whose name will not be mentioned), hereafter referred to as ACOVG.
Links
PLEASE help with bug reports and PR's
This is kind of a huge project. ACOVG's commands are complicated.
Known Issues:
- I
can'tam too lazy to figure out how to do quotes or escape characters. This means that you cannot do things like/kill @e[name="Trailing space "]
or have]
in any part of entity/item/node data. /tp
does not support thecheckForBlocks
argument present in one version of ACOVG. This might change in the future.- Only entities that use
luaentity.nametag
orluaentity._nametag
for nametags (and players, of course) are supported by thename
selector argument. This includes all mobs from MCLA/VL and Mobs Redo, but potentially not others. /setblock
only supportsreplace
orkeep
, not destroy, and only places nodes usingset_node
. Some nodes may not act right since they weren't placed by a player. You could, in theory, look at the node's code and set its metadata.../time
does not properly add to the day count. This will not be fixed.- Only players and fake players (not other entities) are supported by scoreboards, teams, and entity tags, since other entities don't have UUIDs. This might change.
- Except in MCLA/VL, the
playerKillCount
andkilled_by
,teamkill
, andkilledByTeam
objectives can only track direct kills (so not arrows or explosions, for example). - Objectives cannot be displayed as hearts, although literally the only reason is that there's no good half heart character.
- Team prefixes and suffixes have been replaced with
nameFormat
(for example,/team modify a_nice_team nameFormat [Admin] %s the great
), where any%s
is replaced with the player's name. If your name wassingleplayer
, it would appear as[Admin] singleplayer the great
. The reason for this is pretty simple: I don't want to figure out how to do quotes, and Minetest removes trailing space, meaning prefixes ending in spaces are impossible. This fixes that. - The
/give
command is currently unable to give multiple tools (so/give @s default:pick_wood 5
will only give 1). This may change. - If you have a respawn point set with
/spawnpoint
, there is no way to clear it besides the/clearspawnpoint
command. This will probably not change, since various games and mods set respawn points in different ways, and there's no way to make it compatible with all of them.
good but
the /help don't working ... make it or make a book in the game for help commands....