randombyte-developer / command-utils Goto Github PK
View Code? Open in Web Editor NEWA Sponge plugin.
Home Page: https://ore.spongepowered.org/RandomByte/CommandUtils
License: GNU General Public License v2.0
A Sponge plugin.
Home Page: https://ore.spongepowered.org/RandomByte/CommandUtils
License: GNU General Public License v2.0
https://github.com/MinecraftPortCentral/GriefPrevention/issues/663 For some reason commandutils was spamming errors in my config and causing issues with griefprevention.
My recent logs and a description of the problem can be found in the above issue.
Hello! How about text aliases?
For example: !text
Will execute: /g text
Edit: Also allow case-insensitivity.
"i {0}" {
commands=[
"give $p {0} 1"
]
permission=""
}
"i {0} {1}" {
commands=[
"give $p {0} {1}"
]
permission=""
}
Second command alias is not working. It prints error about that alias is already defined, but this aliases have different arguments count, so they are different
I need help with a plugin: CommandUtils. When i put in my mod folder and start the server, the server crash. This is the log: https://pastebin.com/ZYe7Dkq3
As you can see, the error is:
[22:55:17] [Server thread/ERROR] [net.minecraft.server.MinecraftServer]: Encountered an unexpected exception
net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Holograms (holograms)
However I have holograms since month ago and I never have any problem with it...
And if I delete the Command-utils plugin of the server and start, the server don't crash. How can I do? Are there any incompatibilities with the holograms and command-utils plugins or something? I need both...
This is the crash report by the way: https://pastebin.com/9QdVKfUM
Thanks for your contribute! The plugin is awesome and it really helps me a lot. Whether can I reprint the plugin to another Chinese Minecraft forum with all copyright information. I'll make a redirect to the Ore page. Waiting for your reply :)
Hello I was looking into a way to use scoreboards and command-utils to deal with players interacting with an item. I do not see a condition to specify if a player has interacted with an item or if a player has a certain scoreboard objective. A similar example for this issue is like if a player opens a chest they are given an increment in an objective and after the chest closes they cannot reopen said chest. Or if a player clicks on a block it will give them money and if they click twice it will not repeat the command.
Not only digits like {1}
. Helps the admin identifying params like {playerName}
.
Reported by Flarkinater on Discord that /cu execute delayed ...
doesn't seem to work in minecraft vainilla command functions when executed by something other than a player.
Hi there !
I have a problem with your command-utils plugin :
I want to recover the player nickname with % player% to create a custom command with aliases.conf file. But% player% does not seem to work : "[Server thread/INFO] [minecraft/DedicatedServer]: Player '%player%' cannot be found"
Can you help me ?
My server using last recommended SpongeForge build : 1.12.2-2838-7.1.8
My aliases.conf file :
aliases {
vote {
commands=[
"*say hi %player%"
]
permission="command-utils.vote"
}
}
Thanks and sorry for my english ^^
Whenever my server restarts, my execute-on-startup.conf keeps restoring to the following:
commands=[
"say Server started!",
rccratetimer,
publictourneyrandoms,
"rc randomraidbossselect",
"world border set gyms 0 0 15000"
]
From:
commands=[
"say Server started!",
"rccratetimer",
"publictourneyrandoms",
"rc randomraidbossselect",
"world border set gyms 0 0 15000"
]
SpongeForge version: 1.12.2-2838-7.2.2
I have spongeforge mc1.12.2 sponge7.1.7
i also have luckperms and nucleus
i get this error when i try to run a command that i created:
https://pastebin.com/raw/3pubr6Xw
heres my config:
aliases { tps { commands=[ "*tellraw %player% [\\\"\\\",{\\\"text\\\":\\\"Current TPS:\\\",\\\"bold\\\":true,\\\"underlined\\\":true,\\\"color\\\":\\\"red\\\"},{\\\"text\\\":\\\" %server_tps%\\\",\\\"bold\\\":true,\\\"color\\\":\\\"aqua\\\"}]" ] permission="customcommands.tps" } }
Hello,
I am running on Sponge 7.3.0 and Forge 1.12.2-2855.
The Last Alias Execution log is not working. While not a big issue, it does make applying cool downs for commands impossible. I can confirm it is a Sponge issue, as it works on Sponge 7.1.0.
Just a suggestion to add something like the IgnoredPermissions from Virtual Chest, useful to players only commands
IgnoredPermissions=[
"plugin1.permission1"
"plugin2.permission2"
]
For example if I want a user to execute alias for WorldEdit command //chunk current implementation will run this command in a console and nothing will happen for the user. There are plenty of other cases of OP-running command benefits.
Cache the alias regex
use Cron's format to edit the config file:
sayhi {
commands=["broadcast &6游戏开始!"]
schedule {
type="Cron"
schedule="10 22 * * *"
}
}
desayhi {
commands=["broadcast &6游戏结束!"]
schedule {
type="Cron"
schedule="11 22 * * *"
}
}
Is there any way you can make it so when tab is hit it will try to complete a player name? Start with "wi" hit tab and it shows online players first whose name starts with "wi". If I keep hitting tab I start getting names of offline people from a list nucleus or sponge has.
Add a command that tests for an item and it's quantity within the players inventory, similar to the existing
/cu has in hand <playerName>|<playerUuid> <item> [quantity = 1]
and
/cu has given from hand <playerName>|<playerUuid> <item> [quantity = 1]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.