THIS MOD IS NO LONGER SUPPORTED
I have decided to put really BIG LETTERS at the top of this post since I have not updated the mod for nearly five months, other people have a terribly difficult time reading post dates/posts, and there is a new person making a post every other week.
THIS MOD IS NO LONGER SUPPORTED
I will keep the link available for those who wish to view the source code. While the mod was not the best out there, it uses useful aspects of Java (Regular Expression pattern matching, piped communication between a parent process and its child, etc.) that may be able to teach somebody a thing or two. If you have any questions about the source code feel free to PM me.
[b]NOTE: This does NOT work on Windows XP for some people. I don't know why. I personally run the wrapper on Mac OS and Windows 7. I have heard reports of it working just fine under Vista and several flavors of Linux.[/b]
[b]IMPORTANT: As of release 5.9, the wrapper uses a properties file. Commandline arguments are no longer used! Edit ServerLauncher.properties to fit your server.[/b]
I should've done this days ago to make managing releases easier but I set up an SVN repository at code.google.com.
[b]Current release:[/b] http://code.google.com/p/minecraft-serv ... loads/list[/b]
[b]Release notes:[/b]
[b]Version 5.9:[/b]
-New command: #ipban
-New command: #points - keeps track of a point value for players. Use is up to server administrators.
-capability to autosave preferences file.
-autokicks and ipbans players who have invalid characters in their name.
-players with periods in their name can now use commands.
-Reads in information from a properties file.
-playercap: give it a number to limit the number of players or leave it out of the file for no player cap.
-playerwhitelist: set to true to kick non-allowed players
-itemwhitelist: set to true to use white-list summon prevention
-fun: set to true to allow non-trusted players to summon items.
-autosave: set to true to automatically save settings files every ten minutes
-ram: set to the number of mb of ram to use for the server (default: 1024)
[b]Version 6.0-preview:[/b]
- New command: #iplist: Lists users and their IPs
- New command: #motd: Reads in message from motd.txt
- New command: #rules: Reads in rules from rules.txt
- New command: #help
- Bug-fix: #give <name> <kit> no longer crashes if given the name of an invalid kit.
My choice of compressing with tar.gz was somewhat intentional and somewhat a convenience thing. If you don't know what to do with that kind of file and don't know how to find out if you are desperate, just walk away.
Also: Don't be a douchebag and claim any of this code is yours. I don't mind if you use any of this code in your own wrapper, modify it to your tastes, etc. Make sure you give credit where credit is due. While I won't claim that the code is "mine" per se, I wrote all the code in this from scratch. I won't take credit for all ideas however.
While this isn't the first wrapper/chat scraper out but it does seem to do a bit more than others I am seeing. Regardless, I have been running it since I got the first command (#summon) working and players have been having a blast.
This wrapper was developed on a Mac, tested on a Mac, and is currently being run on a Windows machine. With proper setup of the machine and execution of the wrapper, the operating system used should not matter.
NOTE: This wrapper uses the [b]NON-GUI[/b] version of the server.
[b]Features:[/b]
- Administrator level and trusted player level privileges.
- Fully toggleable summon command for players.
- Blacklist items you don't want non-trusted players summoning or whitelist items you want to allow them to summon.
- Kick and ban players. (ban auto-kicks players that attempt to join).
- White-list banning mode (auto-kick all players that are not in the allow file).
- Kicking non-admin/non-trusted players that attempt to join past a certain threshold.
- Server commands typed in the command line wrapper are sent to the server. "stop" will stop the wrapper and the server gracefully as well as save your admin, ban, and trusted lists.
[b]Commands:[/b]
[b]All:[/b] #summon <item-id> [<count>]: Summons count or 1 of item-id. #summon <kit>: Summons a set of items defined in kits.txt. #list: Lists connected players. #time: Displays the server time. #uptime: Displays server uptime. #points: Display how many points you have #help: Displays a list of commands and their use. #rules: Displays the contents of rules.txt. #motd: Displays the contents of motd.txt
[b]Trusted:[/b] #summon: Can summon blacklisted/unwhitelisted items if fun is enabled. Non-blacklisted/whitelisted items if fun is disabled.
[b]Admin-only:[/b] #fun: toggles "fun" game-breaking commands such as #summon. Fun mode is [b]DIS[/b]bled by default as of the third release. NEW BEHAVIOR: When fun mode is on, trusted players can summon blacklisted items. When it is off, they can summon any non-blacklisted items #kick <player>: Obvious #ban/#unban <player>: Bans/unbans players. That easy. This is not available on white-list banning servers (as it does not make sense) #allow/unallow <player>: Allows/disallows players from joining. This is only available on white-list banning servers. #trust/#untrust <player>: adds/removes player from trusted list #blacklist/#unblacklist <item-id>: prevents/allows players from/to summon a given item-id. This is not available on white-list summoning servers. #whitelist/#unwhitelist <item-id>: allows/prevents players to/from summon a given item-id. This is not available on normal, non-white-list summoning servers. #admin <player>: makes player an admin #reload/#save: reload/save the *.txt files. #stop: Stops the server. #give <player> <id> <count> // #give <player> <kit>: Gives the specified player count * id or a kit. #ipban <playername or IP> #points <player> (<amount to add>): Displays the point that player has if no amount is specified or adds the amount given to the player. #iplist [online]: "#iplist" alone will list names and last IP of anybody who has logged onto the server since it booted up. "#iplist online" will list names and IP of only the players that are online.
Saying # commands from the console now works.
[b]Upcoming Features in next version: [/b]
- #summon <kit> <count>
- #give <player> <kit> <count>
- #votekick/#voteban for players. (with ways of turning them off)
- Ways to limit the summoning of kits based on status and/or frequency of use.
- Automatic server restarts are a possibility.
[b]How to get it running:[/b]
[b]1.[/b] Extract the tar.gz file in the directory of the server jar (NOT the .exe, you need the non-gui server).
[b]1.5.[/b] (Windows only) If you are on a Windows machine make sure your PATH (DO NOT TOUCH CLASSPATH) environment variable is set correctly for Java. As the wrapper's internals requires this!
* See http://www.cs.princeton.edu/introcs/15i ... s-cmd.html for setting your paths variable and keep in mind that your "Java" folder may be located in "Program Files (x86)" instead of "Program Files".
[b]2.[/b] Edit ServerLauncher.properties to your heart's content.
[b]3.[/b] Run server.bat if you are on a windows machine or server.sh if you are on a *nix/max machine. Alternatively you can run the following from the commandline:
java ServerLauncher
Whitelist banning uses allowed.txt instead of banned.txt. Whitelist summon prevention uses white_list.txt instead of black_list.txt.
[b]File list and formats:[/b]
admins.txt, trusted.txt, banned.txt/allowed.txt: Contains the name of a players, each on their own lines.
kits.txt: Contains the name of the kit followed by item-ids delimited by a single space
black_list.txt/white_list.txt: contains item-ids (and is soon to include compatability with kits) each on their own lines.
ipbans.txt: IP bans. One IP per line.
points.txt: Each line is a playername, followed by a space, followed by the amount of points they have.
I think you can notify me of bugs on the google code site. Please, do so. There is a chance I won't see what you post in this forum as I am going to be quite busy over the next three days. Oh and if you have complaints about how long and obnoxious #help is I don't want to hear them since everybody wanted it in the first place.
I am hanging out on the Minecraft IRC server. Feel free to drop by and ask questions but I will NOT hold your hand through running the wrapper.
I cant get anything to download from there, all that happens is 3 popup spam windows open everytime i try to download it. Can you upload it to DropBox?
or even Rapidshare would work, anything but that horrid mediafire
I cant get anything to download from there, all that happens is 3 popup spam windows open everytime i try to download it. Can you upload it to DropBox?
or even Rapidshare would work, anything but that horrid mediafire
1. Get Firefox
2. Block Pop-ups
3. Click to start D/L
4. ????????????
5. Now stop complaining
I have firefox, and it does block one of the popups, but it does not catch the other two for some reason. I can click the download link all day long and it still does not work.
I even enabled popups for a minute or two so i could make sure one of those popups was not the download.
Thanks Peerko for posting that.
DropBox is the best there is imo. Just put whatever you want to share in your public folder, right click, get "public link" and post it. No bandwidth or filesize limitations, and anyone can use the links, even if they dont use dropbox.
Not to mention you can invite ppl to your folders, and share directories, and your stuff goes with you everywhere, no matter what computer you use.
I have firefox, and it does block one of the popups, but it does not catch the other two for some reason. I can click the download link all day long and it still does not work.
I even enabled popups for a minute or two so i could make sure one of those popups was not the download.
Thanks Peerko for posting that.
DropBox is the best there is imo. Just put whatever you want to share in your public folder, right click, get "public link" and post it. No bandwidth or filesize limitations, and anyone can use the links, even if they dont use dropbox.
Not to mention you can invite ppl to your folders, and share directories, and your stuff goes with you everywhere, no matter what computer you use.
If you can't download anything from Mediafire while millions of others do on a daily basis... there is something wrong with you and your computer.
What does "make sure your path's for java are correct exactly mean? I have Java Installed on a Dedicated with Windows 2008 R2 x64 in it's default directory, and I have the MineCraft Server and Folder on the Desktop.
When i Navigate to the MineCraft Server directory in command prompt and run this command,
java ServerLauncher 24
I get this error
"java is not recognized as an internal or external command, operable program or batch file."
I have little java knowledge. Could someone care to explain how to get this to work? Do I java ServerLauncher 10 in the server console or am I just being stupid here?
I figured it out, the problem is we are running 64bit OS's. What i had to do, is open up Internet Explorer 64Bit, and go to the Java website, then Download the X64 Bit verison of Java, then Install it, and I got it to recognize the command.
The Auther assumes that everyone has 32bit os. So that should fix it.
enter the command in the command prompt.
you can access that by clicking start, in the run dialog box, type "cmd", right click and run as admin, the navigate to the folder your server is in, then run the command.
You'll also have to download minecraft_server.jar once you get the command working, so you can find that on the main minecraft download page, where it says "run server without gui"
The Author also assumes that your are running the Non GUI version of the Server. That's why we are all having problems. I dunno if it will work for the GUI version or not, but i just installed it, and i will test it out for ya'll and report back.
Hope this helps
EDIT: Nope, it did not work, so this wrapper or program, will only work on the NON GUI version of the MineCraft Alpha Dedicated Server.
Here is the simple. Or as simple as i can make it.
Install java
Use google to learn how to "Set Path" for java (yes you search for "Set Path", make sure to include your operating system..I had to do Vista for instance)
once the path if set click on start, click on run, type in cmd. You get an old dos prompt up.
type in CD (exact path to folder that both the minecraft server and the java file he gave you are)
on mine I type in cd desktop\Minecrafter Server
Mostly because on my computer desktop is saved as a special path. You may need to go cd c:\folder\folder\folder\folder\folder\minecraft server
(replace C if on a different drive)
Now you type in java Serverlauncher ##
Replace ## with a number of course. If you want to you can also include a file inbetween serverlauncher ##. Name it whatever you want, but its supposed to contain a list of names...if you do that it allows only those names to join.
Rollback Post to RevisionRollBack
Quote from Rezdude »
PvP is like sex. When both parties are willing, it can be a very enjoyable experience. However, when one party is not, it is bound to ruin someone's day.
Here is the simple. Or as simple as i can make it.
Install java
Use google to learn how to "Set Path" for java (yes you search for "Set Path", make sure to include your operating system..I had to do Vista for instance)
once the path if set click on start, click on run, type in cmd. You get an old dos prompt up.
type in CD (exact path to folder that both the minecraft server and the java file he gave you are)
on mine I type in cd desktop\Minecrafter Server
Mostly because on my computer desktop is saved as a special path. You may need to go cd c:\folder\folder\folder\folder\folder\minecraft server
(replace C if on a different drive)
Now you type in java Serverlauncher ##
Replace ## with a number of course. If you want to you can also include a file inbetween serverlauncher ##. Name it whatever you want, but its supposed to contain a list of names...if you do that it allows only those names to join.
Lol ill see what happens my luck my pc will turn into a mac
I have decided to put really BIG LETTERS at the top of this post since I have not updated the mod for nearly five months, other people have a terribly difficult time reading post dates/posts, and there is a new person making a post every other week.
THIS MOD IS NO LONGER SUPPORTED
I will keep the link available for those who wish to view the source code. While the mod was not the best out there, it uses useful aspects of Java (Regular Expression pattern matching, piped communication between a parent process and its child, etc.) that may be able to teach somebody a thing or two. If you have any questions about the source code feel free to PM me.
[b]NOTE: This does NOT work on Windows XP for some people. I don't know why. I personally run the wrapper on Mac OS and Windows 7. I have heard reports of it working just fine under Vista and several flavors of Linux.[/b]
[b]IMPORTANT: As of release 5.9, the wrapper uses a properties file. Commandline arguments are no longer used! Edit ServerLauncher.properties to fit your server.[/b]
I should've done this days ago to make managing releases easier but I set up an SVN repository at code.google.com.
[b]Current release:[/b] http://code.google.com/p/minecraft-serv ... loads/list[/b][b]Release notes:[/b]
[b]Version 5.9:[/b]
-New command: #ipban
-New command: #points - keeps track of a point value for players. Use is up to server administrators.
-capability to autosave preferences file.
-autokicks and ipbans players who have invalid characters in their name.
-players with periods in their name can now use commands.
-Reads in information from a properties file.
-playercap: give it a number to limit the number of players or leave it out of the file for no player cap.
-playerwhitelist: set to true to kick non-allowed players
-itemwhitelist: set to true to use white-list summon prevention
-fun: set to true to allow non-trusted players to summon items.
-autosave: set to true to automatically save settings files every ten minutes
-ram: set to the number of mb of ram to use for the server (default: 1024)
[b]Version 6.0-preview:[/b]
- New command: #iplist: Lists users and their IPs
- New command: #motd: Reads in message from motd.txt
- New command: #rules: Reads in rules from rules.txt
- New command: #help
- Bug-fix: #give <name> <kit> no longer crashes if given the name of an invalid kit.
My choice of compressing with tar.gz was somewhat intentional and somewhat a convenience thing. If you don't know what to do with that kind of file and don't know how to find out if you are desperate, just walk away.
Also: Don't be a douchebag and claim any of this code is yours. I don't mind if you use any of this code in your own wrapper, modify it to your tastes, etc. Make sure you give credit where credit is due. While I won't claim that the code is "mine" per se, I wrote all the code in this from scratch. I won't take credit for all ideas however.
While this isn't the first wrapper/chat scraper out but it does seem to do a bit more than others I am seeing. Regardless, I have been running it since I got the first command (#summon) working and players have been having a blast.
This wrapper was developed on a Mac, tested on a Mac, and is currently being run on a Windows machine. With proper setup of the machine and execution of the wrapper, the operating system used should not matter.
NOTE: This wrapper uses the [b]NON-GUI[/b] version of the server.
[b]Features:[/b]
- Administrator level and trusted player level privileges.
- Fully toggleable summon command for players.
- Blacklist items you don't want non-trusted players summoning or whitelist items you want to allow them to summon.
- Kick and ban players. (ban auto-kicks players that attempt to join).
- White-list banning mode (auto-kick all players that are not in the allow file).
- Kicking non-admin/non-trusted players that attempt to join past a certain threshold.
- Server commands typed in the command line wrapper are sent to the server. "stop" will stop the wrapper and the server gracefully as well as save your admin, ban, and trusted lists.
[b]Commands:[/b]
[b]All:[/b]
#summon <item-id> [<count>]: Summons count or 1 of item-id.
#summon <kit>: Summons a set of items defined in kits.txt.
#list: Lists connected players.
#time: Displays the server time.
#uptime: Displays server uptime.
#points: Display how many points you have
#help: Displays a list of commands and their use.
#rules: Displays the contents of rules.txt.
#motd: Displays the contents of motd.txt
[b]Trusted:[/b]
#summon: Can summon blacklisted/unwhitelisted items if fun is enabled. Non-blacklisted/whitelisted items if fun is disabled.
[b]Admin-only:[/b]
#fun: toggles "fun" game-breaking commands such as #summon. Fun mode is [b]DIS[/b]bled by default as of the third release. NEW BEHAVIOR: When fun mode is on, trusted players can summon blacklisted items. When it is off, they can summon any non-blacklisted items
#kick <player>: Obvious
#ban/#unban <player>: Bans/unbans players. That easy. This is not available on white-list banning servers (as it does not make sense)
#allow/unallow <player>: Allows/disallows players from joining. This is only available on white-list banning servers.
#trust/#untrust <player>: adds/removes player from trusted list
#blacklist/#unblacklist <item-id>: prevents/allows players from/to summon a given item-id. This is not available on white-list summoning servers.
#whitelist/#unwhitelist <item-id>: allows/prevents players to/from summon a given item-id. This is not available on normal, non-white-list summoning servers.
#admin <player>: makes player an admin
#reload/#save: reload/save the *.txt files.
#stop: Stops the server.
#give <player> <id> <count> // #give <player> <kit>: Gives the specified player count * id or a kit.
#ipban <playername or IP>
#points <player> (<amount to add>): Displays the point that player has if no amount is specified or adds the amount given to the player.
#iplist [online]: "#iplist" alone will list names and last IP of anybody who has logged onto the server since it booted up. "#iplist online" will list names and IP of only the players that are online.
Saying # commands from the console now works.
[b]Upcoming Features in next version: [/b]
- #summon <kit> <count>
- #give <player> <kit> <count>
- #votekick/#voteban for players. (with ways of turning them off)
- Ways to limit the summoning of kits based on status and/or frequency of use.
- Automatic server restarts are a possibility.
[b]How to get it running:[/b]
[b]1.[/b] Extract the tar.gz file in the directory of the server jar (NOT the .exe, you need the non-gui server).
[b]1.5.[/b] (Windows only) If you are on a Windows machine make sure your PATH (DO NOT TOUCH CLASSPATH) environment variable is set correctly for Java. As the wrapper's internals requires this!
* See http://www.cs.princeton.edu/introcs/15i ... s-cmd.html for setting your paths variable and keep in mind that your "Java" folder may be located in "Program Files (x86)" instead of "Program Files".
[b]2.[/b] Edit ServerLauncher.properties to your heart's content.
[b]3.[/b] Run server.bat if you are on a windows machine or server.sh if you are on a *nix/max machine. Alternatively you can run the following from the commandline:
Whitelist banning uses allowed.txt instead of banned.txt. Whitelist summon prevention uses white_list.txt instead of black_list.txt.
[b]File list and formats:[/b]
admins.txt, trusted.txt, banned.txt/allowed.txt: Contains the name of a players, each on their own lines.
kits.txt: Contains the name of the kit followed by item-ids delimited by a single space
black_list.txt/white_list.txt: contains item-ids (and is soon to include compatability with kits) each on their own lines.
ipbans.txt: IP bans. One IP per line.
points.txt: Each line is a playername, followed by a space, followed by the amount of points they have.
I think you can notify me of bugs on the google code site. Please, do so. There is a chance I won't see what you post in this forum as I am going to be quite busy over the next three days. Oh and if you have complaints about how long and obnoxious #help is I don't want to hear them since everybody wanted it in the first place.
I am hanging out on the Minecraft IRC server. Feel free to drop by and ask questions but I will NOT hold your hand through running the wrapper.
Edit: Ahah, checking this in action. *Instant Kick*
It has two or three slots open now.
SIGH
Will any of you upload it somewhere else for me?
I cant get anything to download from there, all that happens is 3 popup spam windows open everytime i try to download it. Can you upload it to DropBox?
or even Rapidshare would work, anything but that horrid mediafire
1. Get Firefox
2. Block Pop-ups
3. Click to start D/L
4. ????????????
5. Now stop complaining
I even enabled popups for a minute or two so i could make sure one of those popups was not the download.
Thanks Peerko for posting that.
DropBox is the best there is imo. Just put whatever you want to share in your public folder, right click, get "public link" and post it. No bandwidth or filesize limitations, and anyone can use the links, even if they dont use dropbox.
Not to mention you can invite ppl to your folders, and share directories, and your stuff goes with you everywhere, no matter what computer you use.
If you can't download anything from Mediafire while millions of others do on a daily basis... there is something wrong with you and your computer.
When i Navigate to the MineCraft Server directory in command prompt and run this command,
java ServerLauncher 24
I get this error
"java is not recognized as an internal or external command, operable program or batch file."
and yes, i'm running cmd as administrator.
any help would be appreciated.
Thanks
Add it to path variable (not going to explain how to do this, use google)
Run program.
The Auther assumes that everyone has 32bit os. So that should fix it.
enter the command in the command prompt.
you can access that by clicking start, in the run dialog box, type "cmd", right click and run as admin, the navigate to the folder your server is in, then run the command.
You'll also have to download minecraft_server.jar once you get the command working, so you can find that on the main minecraft download page, where it says "run server without gui"
The Author also assumes that your are running the Non GUI version of the Server. That's why we are all having problems. I dunno if it will work for the GUI version or not, but i just installed it, and i will test it out for ya'll and report back.
Hope this helps
EDIT: Nope, it did not work, so this wrapper or program, will only work on the NON GUI version of the MineCraft Alpha Dedicated Server.
PS: my Virus tool says this download is a harmful virus.
My server blog type thing
http://ltvicslist.tumblr.com/
Here is the simple. Or as simple as i can make it.
Install java
Use google to learn how to "Set Path" for java (yes you search for "Set Path", make sure to include your operating system..I had to do Vista for instance)
once the path if set click on start, click on run, type in cmd. You get an old dos prompt up.
type in CD (exact path to folder that both the minecraft server and the java file he gave you are)
on mine I type in cd desktop\Minecrafter Server
Mostly because on my computer desktop is saved as a special path. You may need to go cd c:\folder\folder\folder\folder\folder\minecraft server
(replace C if on a different drive)
Now you type in java Serverlauncher ##
Replace ## with a number of course. If you want to you can also include a file inbetween serverlauncher ##. Name it whatever you want, but its supposed to contain a list of names...if you do that it allows only those names to join.
Lol ill see what happens my luck my pc will turn into a mac
My server blog type thing
http://ltvicslist.tumblr.com/
^^ This +1
Add your server to the list and get your own signature stat image!