MonitoringMinecraft MonitoringMinecraft

CommandTokens

Мод NeoForge

Мод добавляет настраиваемые предметы-жетоны, запускающие команды по правому клику — удобно для серверов Майнкрафт

524 скачивания 2 подписчика
Оцените первым

NOTE: If you are looking for a server-side alternative to this mod (that clients dont also have to install to connect to your server) - CommandTokens has been included in my server-side essentials mod:  

Henny Essentials

Overview

CommandTokens gives the user the ability to create custom items that execute commands when a player uses them.

This mod is aimed toward server owners, modpack creators and map makers but has a wide range of uses in many scenarios.

Commands

You can use the command /commandtokens give to give a token to a player.

Alternatively, you can use the Minecraft give command to give a player a token as follows:

/give commandtokens:token[custom_data={"commandtoken":"tokenAlias"}]

How to create a Token

To create a token, place this mod in your mods folder and load up a world in creative mode. If you navigate to the CommandTokens creative tab you will see 3 tokens that are created by default.

Now save and quit your world and navigate to the config directory, you will see a file called: CommandTokens.json

This is the file where you can create your custom tokens. Below is a breakdown of a "token" object: Config token

NOTE: as of V1.0.4 you can add a permission: "some.permission.node" option to tokens and it will use LuckPerms to check if player has permission to use the token. If LuckPerms is not installed, or the permission string is blank, the token will not check permissions.

Create as many of those objects as you want and place them within the "tokens": [] array in the config and the next time you load your world you will have access to these tokens.

For example, the config token defined above will create this token in game: Example of token in game

Смотри также

Похожие подборки моды — по версиям Майнкрафта, загрузчикам и жанрам.

Сервера Майнкрафт

Играть интереснее на сервере — выбирай в рейтинге серверов Майнкрафт и заходи прямо сейчас.

Meow КОПИЯ RW FREE ДОНАТ БЕСПЛ
56 онлайн
1.16.5 — 1.21.1 версия
ПвП, Гриферство, бесплатный донат Dragon, AIR DROP
EnergyMC
14 онлайн
1.20.5 — 26.2 версия
🔥 Гибрид | ⚔️ Кланы | 🏰 Рейды | 🤺 Дуэли
Minestory
4 онлайн
1.21 — 26.2 версия
Выживание • Экономика • Кланы • Приваты • Ивенты • PVP • Работа
SkyBars
SkyBars Java + BE
612 онлайн
1.8 — 26.2 версия
🎮 ВЫЖИВАНИЕ ⚔️ АНАРХИЯ 🚗 ГТА РП 🎤 ГОЛОСОВОЙ ЧАТ 🎁 БЕСПЛАТНЫЙ ДОНАТ 🌟 СМП 💻 ПК+ТЕЛЕФОН
MineLauncher
Лаунчер Майнкрафт без лицензии — все версии
Бесплатный лаунчер для ПК и Андроид — все версии 26.2, 1.21.11, 26.1.2, 1.21.4. Fabric, NeoForge, Forge, шейдеры, моды и скины в один клик.
Без лицензии Fabric, NeoForge, Forge Моды, шейдеры, скины Все версии Майнкрафта ПК и Андроид Для слабых ПК Сервера в лаунчере
Скачать бесплатно
Windows и Андроид · Бесплатно · Без лицензии
Наш чат