Giter Club home page Giter Club logo

command-utils's People

Contributors

randombyte-developer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

galaxy-vn

command-utils's Issues

Text aliases

Hello! How about text aliases?
For example: !text
Will execute: /g text

Edit: Also allow case-insensitivity.

Bug with arguments

    "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

Incompatibilities with holograms and command-utils?

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

Applying for reprint permission.

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 :)

Condition command

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.

Arbitrary parameters

Not only digits like {1}. Helps the admin identifying params like {playerName}.

Var %player% doesn't work on aliases

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 ^^

execute-on-startup.conf restoring to old version when server restarts

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

Does not work

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" } }

Alias Last Execution log broken

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.

Feature to ignore permissions

Just a suggestion to add something like the IgnoredPermissions from Virtual Chest, useful to players only commands

     IgnoredPermissions=[
             "plugin1.permission1"
             "plugin2.permission2"
     ]  

Make *-command run as an OP instead of console

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.

can you add a Scheduler function?

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 * * *"
    }
}

Tab complete player names

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.

[REQUEST] Add test for item in inventory not just in hand

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]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.