Jump to content

Recommended Posts

  • 2 weeks later...
  • Discord Moderator
Posted

1) Put the MCPC+ jar into a folder (we'll call this SERVERFOLDER) and start it once, then stop the server. This will download libraries and make your folders.

1a) For now you can just open a command prompt in the SERVERFOLDER folder and type "java -jar mcpcblahblahblah.jar nogui". When running the server for real you will likely want to use a number of command line options here as well. While the details are beyond the scope of this post you will probably want at least "-Xmx2048m" where 2048 should be set to how much memory in megabytes you wish to allocate to the server. This will be dependant on how many mods you have, how many concurrent players you have, and how many chunks are force loaded by things such as quarries and chunk loaders.

2) Copy your mods from your custom pack to SERVERFOLDER\mods

2a) If you want to do this RIGHT you will copy these one at a time along with the mod config (see Step #3) and start/stop your server. This way you will know when you copy a new mod over that it is probably a client only mod when your server crashes instead of copying over 100 mods and having no idea which one is causing the problem.

3) Copy your configs from your custom pack to SERVERFOLDER\config.

3a) See Step #2a

4) Delete any mods that are client only. Things like Damage Indicators, Optifine, Minimap, etc. If you try to start the server and it complains about lwjgl, you probably have a client mod still in the mods folder.

5) Now comes the fun part. You'll need to configure bukkit.yml, mcpc.yml, server.properties to suit your needs. Explaining those is well beyond the scope of this short post.

6) Assuming you actually wish to run a server where folks other than you are logging in you will likely want to have some protections in place and a few "conveniences" that folks have become accustomed to. This will require some bukkit plugins. Here are a few suggestions:

  • BanItem - Gives you some ability to prevent users from using/placing/owning items. Doesn't always work because of how some mods are coded.
  • Essentials - Lots of player management features as well as features players can use such as homes, usable signs, kits, etc.
  • GriefPrevention - Lets players manage their own "claims" which provides build/access permissions.
  • PermissionsEx+ModifyWorld - Permissions plugin. Allows you to control access to features/blocks/items/etc. from other mods and plugins.
  • WorldEdit - Great for helping you make/fix things in-game
  • WorldGuard - Useful for protecting things like fire spread, block damage from mobs, etc. Similar to GriefPrevention but more for administration, not players.
  • WorldBorder - Lets you set a maximum distance from spawn that players may travel. Helps limit world growth.

Good luck. If you intend to distribute the server once you have all the files/mods/configs set up you probably do NOT want to include anything but your "config" and "mods" and any other miscellaneous files associated with the mods themselves. Let people get their own download of MCPC+ and let it download its own libraries (you don't want to distribute those anyway).

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...