[Mod] Server mod

Page 1 of 3 123 LastLast
Results 1 to 15 of 33
  1. #1
    You've got my respect! Traitor is offline
    MemberRank
    Apr 2008 Join Date
    Portland,OregonLocation
    959Posts

    [Mod] Server mod

    I made an actual server mod that mods the server and not just piping commands through to the program.

    Features
    • Colored, group-specific names that can be changed in server.properties
    • Lots of commands (I'll go into specific below)
    • Kits, and can be group-specific so you can have builder-specific kits.
    • Player whitelist
    • Adjustable player limit
    • MOTD
    • Usergroups (default, builder, mod and admin)
    • Ability to change the position of /home
    • Several administration commands like /ban, /banip, /unban, /kick, etc.
    • Llama's mod integration (/lighter). Download llama's mod from here
    • Configurable item spawn blacklist
    • And much more...

    Commands
    • /help [Page] - Shows a list of commands. 7 per page.
    • /playerlist - Shows a list of players
    • /reload - Reloads config
    • /listbans <IP or bans> - Gives a list of bans
    • /banip [Player] <Reason> - Bans the player's IP
    • /unbanip [IP] - Unbans the IP
    • /ban [Player] <Reason> - Bans the player
    • /unban [Player] - Unbans the player
    • /mute [Player] - Toggles mute on player.
    • /tp [Player] - Teleports to player. Credits to Zet from SA
    • /tphere [Player] - Teleports the player to you
    • /kick [Player] <Reason> - Kicks player
    • /item [ID] [Amount] <Player> - Gives items
    • /kit [Kit] - Gives a kit. To get a list of kits type /kit
    • /listwarps - Gives a list of available warps
    • /home - Teleports you home
    • /sethome - Sets your home
    • /setspawn - Sets the spawn point to your position.
    • /me [Message] - * hey0 says hi!
    • /msg [Player] [Message] - Sends a message to player
    • /spawn - Teleports you to spawn
    • /warp [Warp] - Warps to the specified warp.
    • /setwarp [Warp] - Sets the warp to your current position.
    • /removewarp [Warp] - Removes the specified warp.
    • /getpos - Displays your current position.
    • /compass - Gives you a compass reading.
    • /time [Time|day|night] - Changes time
    • /lighter - Gives you a lighter for lighting furnaces
    • /motd - Displays the MOTD
    • /modify [player] [key] [value] - Type /modify for more info
    • /whitelist [operation (add or remove)] [player]
    • /reservelist [operation (add or remove)] [player]

    Settings
    • data-source - Can be flatfile or mysql. If set to mysql, it will generate a mysql.properties for you to configure.
    • alloweditems - A whitelist of allowed items for use in /item
    • disalloweditems - A blacklist of disallowed items for use in /item
    • itemspawnblacklist - A blacklist of items that can't be spawned (IE. Things like bedrock, lava, water, etc). Add IDs seperated by a comma.
    • motd - The motd of the server. Seperate new lines with @
    • max-players - The player limit. Defaults to 20.
    • save-homes - If set to false it will no longer save homes.
    • itemstxtlocation - The location of items.txt
    • homelocation - The location of homes.txt
    • kitstxtlocation - The location of kits.txt
    • admintxtlocation - The location of users.txt (Was admins.txt before)
    • homelocation - Location to save homes
    • warplocation - Location to save warps
    • group-txt-location - Location to read groups from
    • whitelist-txt-location - Location to read/write the player whitelist
    • reservelist-txt-location - Location to read/write the reserve list
    • spawn-protection-size - Sets the spawn protection size
    • reload-interval - The interval that the server reloads configuration files
    • save-interval - The interval that the server save-alls (Default half-hour)
    • logging - Enabling this will cause every command used to be logged to the logs.

    Downloads

    Latest build: Latest! Updated!
    Download
    Save/Reload Plugin:
    Download

    Instructions
    Simply extract the files somewhere, open the bin folder and run server_nogui.bat. DO NOT RUN THE .JAR. IT WILL NOT WORK!
    It'll automatically download the latest server from minecraft's servers. Next you'll probably want to add yourself as an admin. Read over users.txt to see what you have to do. If you're still confused here's an example:
    Code:
    hey0:admins
    That would give the person named 'hey0' admin. Just remember when editing any of the configuration files, never add a space unless you're adding a kit (so you can add a specific amount of an item).

    Changelist
    Build 63 & 64
    • Updated to v0.2.0_01

    Build 65
    • Fixes /item and /kit

    Build 66
    • Fixes /item

    Build 67
    • Fixes GUI mode

    Build 68
    • Fixes compass and /getpos

    Build 69
    • Hopefully fixes homes and warps

    Build 70
    • As an admin, you can type /item 1 -1 to give yourself an infinite supply of that item.

    Build 71
    • Fixes build access (People with restrictions set to -1 can no longer build)

    Build 72
    • Fixes mysql homes and warps

    Build 73
    • Fixes auto-reloading

    Build 74
    • Adds, at the moment, a limited plugin system and fixes reserve list

    Build 75
    • Fixes some plugin stuff

    Build 76
    • etc.getServer() works now

    Build 78 & 79
    • People who are restricted from building also are restricted from chests and furnaces (they can't modify contents)

    Builds 80 & 81
    • /removewarp added
    • /home [player] added
    • Command logging added (Change logging in server.properties to true. This will report every command used to server.log)
    • Fixed error on startup

    Builds 82
    • Updated to v0.2.1

    Builds 83
    • Allows plugins to add commands to /help

    Builds 83-88
    • Fixed IP bans
    • Fixed block removal
    • Added IP checking for users

    Builds 89-92
    • Changed whitelist to be enabled through server.properties
    • Added whitelist-message in server.properties

    Builds 93
    • Changed plugin interface
    • Added block stuff for plugins.
    • Returning a string for onLoginChecks will result in the player being kicked with the specified string as the reason

    Builds 94-100
    • Various changes to the plugin interface
    • Javadocs

    Builds 103
    • Lots of refactoring regarding user/player classes.
    • Probably buggy as a result
    • Player is reloaded on every login (as opposed to having to /reload to have the changes set)

    Builds 104
    • Various bug fixes

    Builds 105
    • Mob spawning with /spawnmob [Name] <Amount>

    Builds 106
    • Reverted change regarding canBuild

    Builds 107
    • Potentially fixed canBuild

    Builds 109
    • Potentially fixed hasControlOver
    • Merged commits by chrisinajar adding getSpawnLocation(), fixing a crash and adding onPlayerMove hook to the Plugin class.

    Builds 110
    • Added reloadPlayer to ea

    Builds 111
    • Changed it to only check build rights and commands of the default group if you aren't in a group.

    Builds 112
    • Fixed several things related to default groups.
    • IP check on login working again.
    • users.txt is created on startup now rather than login.
    • Fixed some things with flatfiles.

    Builds 113
    • Added onServerCommand to plugin class.
    • Merged commits by chrisinajar adding onArmSwing hook.
    • FIXED IP check.
    • Fixed kick/ban reasons for plugins.

    Build 115
    • Inventories can now be modified by plugins
    • /cleaninventory [player] command added
    • Player.giveItem now gives the item into the player's inventory first. So /item, /kit, etc. now all put the items into your inventory and then drop the rest if your inventory is full.
    • Chests, Signs and Furnaces can be modified.
    • HitBlox by Ho0ber added. Allows plugins to find out what block the player's looking at.
    • New Plugin system. Now uses listeners. Completely backwards compatible at the moment.
    • Fixed getItemInHand()
    • Fixed crash if you typed " " into the console (thanks chrisinajar).
    • Added onSendComplexBlock (which will allow you to have locks for chests), onComplexBlockChange and onInventoryChange
    • Small change so people moving from flat files to mysql will have an easier time.

    Build 116
    • Added plugin commands to console commands.
    • Now only admins can clear other people's inventories
    • Added getX,Y,Z to complex blocks.

    Build 117
    • Added block.getStatus().
    • Added etc.showUnknownCommand()
    • Added DataSource.getItem(int id) and DataSource.getItems().
    • Fixed /tp and /tphere player checks.
    • Fixed ItemArray.removeItem

    Build 118
    • Added Mob.getX/Y/Z/Health, Mob.setX/Y/Z/Health
    • Validation for /spawnmob and /setwarp

    Build 119
    • Added block data.
    • Added mob.getName() and mob.dropLoot() (Automagically drops loot if health is set to 0).
    • Added server version stuff. (/version in-game version in-console).
    • Removed backwards compatibility for old plugins.


    Changelist twitter: James (TraitorCS) on Twitter
    Forum link: Hey0's Minecraft Mods
    Javadocs link: Generated Documentation (Untitled)
    IRC: irc://irc.esper.net/#hey0
    Last edited by Traitor; 18-10-10 at 07:35 PM.


  2. #2
    (Joe209!) Riley is offline
    MemberRank
    Jul 2007 Join Date
    Box In A StreetLocation
    1,423Posts

    Re: Server mod

    Mind to say it was created by Hey0 instead of you?

  3. #3
    You've got my respect! Traitor is offline
    MemberRank
    Apr 2008 Join Date
    Portland,OregonLocation
    959Posts

    Re: Server mod

    Quote Originally Posted by joe209! View Post
    Mind to say it was created by Hey0 instead of you?
    http://hey0.net/ragezone.html

  4. #4
    Banned Yamachi is offline
    BannedRank
    Oct 2006 Join Date
    Jolly EnglandLocation
    3,517Posts

    Re: Server mod

    nou sucks

    Anyways, good work :) Been using this since I started playing Minecraft.

  5. #5
    ...[ White Rabbit ]... MentaL is offline
      Administrator  Rank
    Jan 2001 Join Date
    31,625Posts

    Re: Server mod

    looks good.

  6. #6
    (Joe209!) Riley is offline
    MemberRank
    Jul 2007 Join Date
    Box In A StreetLocation
    1,423Posts

    Re: Server mod

    Quote Originally Posted by Traitor View Post
    Lol my bad :)

  7. #7
    I can't leave this place RaptorJesus is offline
    MemberRank
    Apr 2008 Join Date
    1,923Posts

    Re: Server mod

    Damn, good job Traitoooor

  8. #8
    wackyracer#1337 wackyracer is offline
    MemberRank
    Jun 2008 Join Date
    1,524Posts

    Re: Server mod

    only us maplefags would know that Traitor = hey0, so let's excuse joe this time :P.

    hella good job James :D I use this for my private minecraft server ;P (hit me up on MSN if you, or anyone here, wants to play in it, toonjoren@hotmail.com)

    (btw, epic post count, 999 lol, mine's 888 :P)
    Last edited by wackyracer; 18-10-10 at 01:36 AM.

  9. #9
    Alpha Member Vakarian is offline
    MemberRank
    Apr 2008 Join Date
    Ohio, USALocation
    2,134Posts

    Re: Server mod

    Quote Originally Posted by Traitor View Post
    I nearly shat my pants when I saw this.
    grats on the triple 8 and 9, you two.

    My server is now running on this.

  10. #10
    Account Upgraded | Title Enabled! 1111a1111 is offline
    MemberRank
    Mar 2007 Join Date
    238Posts

    Re: Server mod

    Can u add so mob can hit u and so player lose hp ?

  11. #11
    something Erlend is offline
    MemberRank
    Dec 2007 Join Date
    Oslo, NorwayLocation
    791Posts

    Re: Server mod

    Quote Originally Posted by 1111a1111 View Post
    Can u add so mob can hit u and so player lose hp ?
    That would just be a wate of energy, Notch will code theese features

  12. #12
    You've got my respect! Traitor is offline
    MemberRank
    Apr 2008 Join Date
    Portland,OregonLocation
    959Posts

    Re: Server mod

    Quote Originally Posted by 1111a1111 View Post
    Can u add so mob can hit u and so player lose hp ?
    Player health is client sided.

  13. #13
    something Erlend is offline
    MemberRank
    Dec 2007 Join Date
    Oslo, NorwayLocation
    791Posts

    Re: Server mod

    Off topic: Traitor congrats on 1000th post.

    On topic: you know if MCAdmin is compatible with this mod?

  14. #14
    Account Upgraded | Title Enabled! kochon is offline
    MemberRank
    Nov 2006 Join Date
    MontrealLocation
    1,451Posts

    Re: Server mod

    This might sound very noob, but when I launch the bat it says 'java' is not recognized as an internal or external command. Do I need to copy java.exe in that folder or what

  15. #15
    You've got my respect! Traitor is offline
    MemberRank
    Apr 2008 Join Date
    Portland,OregonLocation
    959Posts

    Re: Server mod

    Quote Originally Posted by emineem View Post
    Off topic: Traitor congrats on 1000th post.

    On topic: you know if MCAdmin is compatible with this mod?
    Dunno. If it isn't you can copy+paste the classes within my mod into minecraft_server.jar and it should work.
    Quote Originally Posted by kochon View Post
    This might sound very noob, but when I launch the bat it says 'java' is not recognized as an internal or external command. Do I need to copy java.exe in that folder or what
    Use this .bat instead:
    Code:
    @echo off
    "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xms1024M -Xmx1024M -jar Minecraft_Mod.jar nogui
    pause



Page 1 of 3 123 LastLast

Advertisement