MyCommand
MyCommand
Donations
If you like this plugin, and want to offer me a coffee, consider to click the button on the top right corner of the navbar to donate! Thank you :D
Make your own, customized Minecraft commands
Features:
- Make new commands!. (Also registered command)
- Run others command in new one
- Perform several commands in one
- Delayed commands with custom pause, warmups and cooldowns
- Make Shortcut/alias commands or override commands.
- Run commands with any item , block, signs or even (villager) NPC's.
- Various functions for costumize commands, like placeholders, scripts (if-else) and more.
- Console support
- Economy support (Require Vault)
- All features are highly customizable
- No command limits with multiple file support
- Customizable IconMenu (ChestGUI), ActionBar, BossBar, Hover/ClickableText, Title and Scoreboard commands.
- Allow the execution of commands in various circumstances (per world, by worldguard regions and more.
- Custom players database where you can store anything you want to personalize even more your commands. SQL database supported.
- BungeeCord feature, Scheduler, Join/Quit/Death events, PHP/GET request ...
- ... And much, much more..!
Configuration and examples (Documentation)
Commands & permissions
Video Tutorial :
(French) Getting Started (TEXT and ALIAS commands) by Texier (MyCommand 5.5.0)
(English) by Koz4Christ. (MyCommand 5.1.8)
If you have to report an error in the chat, or just a command section, use pastebin or a similar website. Help with YML code error : http://yaml-online-parser.appspot.com/
This plugin uses bStats Metrics - MyCommand stats page
In reply to Forge_User_27476696:
As i already said, you've created a loop, that's impossible to resolve. The only way was to open the interested plugin archive.jar and add manually the aliases (see here : https://www.spigotmc.org/wiki/command-alias/ ) under the interested command. But isn't1 100% sure to works, if you have tryed and done all correctly, there isn't any solution, if not add the alias internally from the dev of the plugin itself.
Hi there
I have an idea: add an option to have a dedicated log file for all $log messages, in addition to console. Could it be a feature?
It would be easier to find specific logs, in one file (instead of many of them with minecraft logs)
In reply to Forge_User_80075269:
I guess it's possible, if someone else ask for that too, i can see to create something. Maybe storing them in a txt file.
In reply to ivanfromitaly:
I'm glad some others are interested too :)
A txt file would be really nice
Do you still plan to implement it? :)
In reply to Forge_User_80075269:
Still planned, i need to experiment when i have time.
In reply to ivanfromitaly:
Okay, it's a nice news, thank you :)
In reply to Forge_User_80075269:
I've implemented it in the latest update of the dev version. If you want to test it :
Link Removed: https://www.mediafire.com/file/msqgn4y5ezhwvhy/MyCommand_v5.5.2dev_14aug_2019.zip/file
In reply to ivanfromitaly:
I tried it and it works fine !
Huge thank you!!
In reply to ivanfromitaly:
This idea is very good. It would be really nice to be able to implement that. And to start with a txt file it's enought i think.
In reply to ivanfromitaly:
I was going to suggest this idea too, makes for finding logs based on Player created systems much easier :)
This might be a noobish question, but is it possible to compare %playerdata% information between 2 different usernames within a script?
I also wanted to say I love this plugin. This is one of the main plugins the server I admin on has been using for the last couple of years. It adds a whole new dimension to the game.
Keep up the good work!
In reply to Forge_User_90669409:
You can retrieve information with the placeholder "$PlayerDataFor%PlayerName%VarName%".
So, if you put them in a if condition, like :
you can compare them.
In reply to ivanfromitaly:
Thank you for this!
Version: 5.5.0
MC: 1.8.9
Hello!
I really like your plugin, it's very useful, I tried to use it to grant ranks replacing the pex command (pex user <user> group set <rank>) and it works really well with variables:
The problem is that when I use it in game it works but it doesn't tab names or variables, so I tried to add the tab option but it only works with ranks in the wrong place (e.g. /grant <it tabs the rank and not the player> <it doesn't tab anything>).
Is there a way to set the tabbing option on players for the first variable and defaults rank names for the second variable?
In reply to Forge_User_42196809:
For now no. without tab_completer the list will return with the player list, with tab_completer it returns the custom list.
I need to work on it to make it flexible, but takes time and i've see how to maintain compatibility.
In reply to Forge_User_42196809:
Considering it was something people already asked, i finaly made it out. Try it in the new dev version here
Link Removed: https://www.mediafire.com/file/7u5z8c32e0a43kc/MyCommand_v5.5.1dev_may31.zip/file
and tell me if it's all ok. I don't know if implement a way to have a list who return anyway when isn't the call one, or you exceeded the last list created How to use :
In reply to ivanfromitaly:
Thank you so much! You read my mind, I wanted to ask you that :)
I can't try it right now but I will when it's published :D [I'm using aternos (which allows unlimited plugins but only selected plugins from here and the spigot website) to play with my friends and I download this plugin because I'm into IT :D]
Nevermind, I tried it on a localhost spigot 1.8 server and it worked perfectly, I can't wait to see this fantastic feature in future!
Version : 5.5.0
MC : 1.13.2
Hey Ivan,
I am having problems with my scripts. I am making custom variables for items in the game.
2 of these are:
"buy_sand"
"buy_sandstone"
But in the script, it is replacing "buy_sand" before it even finishes reading "buy_sandSTONE"
- '$text$[Shop] Bought %mycommand_variables_amount_sandstone% sandstone for buy_sandstone Pure Gold.
Is returning in chat:
[Shop] Bought 32stone sandstone for 3stone Pure Gold.
Should be returning:
[Shop] Bought 32 sandstone for 3 Pure Gold.
I don't know if this issue is related, but it is replacing variables even when they're just text.
For example, if I have a variable named "stone" and set it to "10",
if I try:
- "$text$You just mined some stone!"
It would replace it with
- "$text$You just mined some 10!"
In reply to Forge_User_98674312:
The mycmd-variables function works as a global placeholder storage. If you create a variable called stone, everytime a string contains stone it will replace it with it's content. Create variables with special character in it, like $stone or %_stone_% ecc to avoid that. Anyway, if you need to store data per player, you need to use /mycmd-playerdata. Variables is here if you want to create a variable who is global to show for everyone.
In reply to ivanfromitaly:
Didn't think of creating it as $stone or %_stone_%, thank you.