Jump to content

Recommended Posts

Posted

I have been trying to setup my custom modpack (forge) with a server. The modpack is 1.6.4 and so is the version of MCPC that I used. Can someone contact me and run me through how to do it?

  • 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).

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...