Command List Compiler v1.1
This is a discussion on Command List Compiler v1.1 within the Releases forums, part of the Java Based (Odin) category; Howdy guys. Isaac here.
I was doing some stuff for the server I develop, and I realized we didn't have ...
-
return badass;
Command List Compiler / @commands command maker [v1.2]
Howdy guys. Isaac here.
I was doing some stuff for the server I develop, and I realized we didn't have a command list... And we have a lot of commands, so it would take a while to compile one manually.
So I decided to make a command list compiling program that will take your raw Commands.java file and outputs the full list of commands.
LINK:
Command List Compiler.exe
Virus Scan
UPDATES:
v1.0:
Initial release.
v1.1:
Added a file>open option so you can browse over to your command file
added a file>save option so you can save your command list directly without copy/pasting
added some settings to make the results more customizeable and adaptable to other sources, or sources customized to use different player/donor command methods as well as different prefixes.
Made it so that the contents of the textbox don't get reset by default, unless you're entering the exact same thing twice. (Try not to double click the button if you're using multiple files.)
Added a manual reset button.
v1.2:
Added an option that will create a command to list the commands. That sounded redundant...
Added more customizability in the "other options" menu item, including a way to make it more friendly to prefix-including sources.
INSTRUCTIONS (can also be found in the program itself):
- Open your command.java (file>open) or paste it into the top box
- (unnecessary if you used file > open) Press compile button
- Click the button that best meets your needs
- Wait for it to compile the commands list
- Save the output (file > save) or copy it to wherever you want
- Profit
MORE INFO:
This program is made for MoopleDev, although not exclusively for it.
In theory, it should work for everything, although it is untested for anything other than MoopleDev.
Here are some problems that could arise, and solutions (when there are any):
- If you're using a source that has multiple files for the commands, putting them in one by one should work fine, although the formatting may be questionable.
- If your methods for Player commands and Donor commands (if you have them) do not contain the words Player and Donor/Donator respectively, you need to go to Settings>Prefix settings and change the keywords, or they'll end up with the wrong prefix (usually !)
- If you don't use #commands for donors, go to Prefix Settings to change the donor commands prefix
- If your source checks for commands with the prefix included, go to other settings and uncheck "append prefix", or you'll end up with the prefix twice.
- By default, command methods start with 'execute'. If yours don't, the names of the sections will end up screwy. Change ur methods plz.
- This program checks for certain features in your code. If you use methods other than .equals() and .equalsIgnoreCase() to check commands, you should probably get used to using it, because it's most practical. Oh, and the commands won't be detected at all, so you'll have a blank output. :D
Some of these things will be completely fixed if/when I choose to release a new version.
FAQ (not really, but I imagine I might get asked some day if I don't do this)
Q: When I load my commands class from a file, the formatting goes screwy. Will this effect the output?
A: No.
Q: Will compiling the list for a specific file overwrite the output that's already in the box?
A: Not unless you're submitting the same file twice in a row, in which case it will.
Q: Why did you choose to make this program?
A: I got bored.
Until then, peace out.
~Isaac~
P.S. For all you foreign bast- ermm, cupcakes out there who know technical terms but not the alternate meaning of compile, don't get mad at me for using the wrong terminology. To compile something is to put a bunch of things together into one final product, so it is absolutely truthful to claim that this program compiles a list of commands.
Last edited by linkdamasta; 04-08-11 at 03:41 PM.
Reason: Deciding to add more to title.
Liking a post lets the person who didn't have to help you - but did anyways, and with nothing in return - know that you appreciated their contribution. I spend a lot of time on the help section trying to solve people's problems because I enjoy the feeling of knowing that I helped somebody advance in their projects.
If I helped you out, leave a like so I know it wasn't for nothing. <3
-
-
Infraction Banned
Re: Command List Compiler v1.0
-
Hardcore Member
Re: Command List Compiler v1.0
Nicely done! Works great! Thanks!
-
Ultimate Member
Re: Command List Compiler v1.0
Do you mind putting a virus scan, to make sure its safe? Thanks.
-
-Blogger/Java Coder-
Re: Command List Compiler v1.0
Nice. Haven't seen anything like this before. Thanks for your contribution.
-
return badass;
Re: Command List Compiler v1.0

Originally Posted by
ooSnowCapxx
Do you mind putting a virus scan, to make sure its safe? Thanks.
Errm, actually, I'm not entirely sure what I'm supposed to do in response to this xD
I did a kaspersky scan, here's a pic

Otherwise, I'm sure the people here can testify for me? :3
Liking a post lets the person who didn't have to help you - but did anyways, and with nothing in return - know that you appreciated their contribution. I spend a lot of time on the help section trying to solve people's problems because I enjoy the feeling of knowing that I helped somebody advance in their projects.
If I helped you out, leave a like so I know it wasn't for nothing. <3
-
while(true) ActLikePro();
Re: Command List Compiler v1.0
in Xotic i remember there used to be a command !savecommands and then in your server files was a commands.text file with all the commands..
-
Registered
Re: Command List Compiler v1.0
-
return badass;
Re: Command List Compiler v1.0
Updated to v1.1! Yaaaayyy!
Added a bunch of new stuff.
Gonna try to find a good way to split the section titles and add solutions to some of the problems later.
Last edited by linkdamasta; 20-07-11 at 04:58 PM.
Liking a post lets the person who didn't have to help you - but did anyways, and with nothing in return - know that you appreciated their contribution. I spend a lot of time on the help section trying to solve people's problems because I enjoy the feeling of knowing that I helped somebody advance in their projects.
If I helped you out, leave a like so I know it wasn't for nothing. <3
-
Bright Future Scholarship
Re: Command List Compiler v1.1
lmao can't you just open commands.java? I mean seriously people are coming more and more lazier..
-
Infraction Banned
Re: Command List Compiler v1.1

Originally Posted by
iAkira
lmao can't you just open commands.java? I mean seriously people are coming more and more lazier..
Soon there's gonna be a program that sets up the server for you.
-
return badass;
Re: Command List Compiler v1.1

Originally Posted by
iAkira
lmao can't you just open commands.java? I mean seriously people are coming more and more lazier..
Download the latest version, I added that option? derp
Liking a post lets the person who didn't have to help you - but did anyways, and with nothing in return - know that you appreciated their contribution. I spend a lot of time on the help section trying to solve people's problems because I enjoy the feeling of knowing that I helped somebody advance in their projects.
If I helped you out, leave a like so I know it wasn't for nothing. <3
-
Bright Future Scholarship
Re: Command List Compiler v1.1

Originally Posted by
Strobe
Soon there's gonna be a program that sets up the server for you.

No kidding..don't give them ideas they might actually do it :/
-
return badass;
Re: Command List Compiler v1.1
Oh I see the problem. I had actually posted that I had updated before updating the main topic, so you only have version 1.0 downloaded at the moment. xP
You can just open it in the latest version.
Posted via Mobile Device
-
Registered
Re: Command List Compiler v1.1
I'm New at this but I'm using Delphi Source v83 and I don't know were the command list is. Can someone help???
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules