Minecraft

From wikinotes
Revision as of 01:46, 5 October 2016 by Will (talk | contribs) (→‎permissions)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

server

Minecraft was written in java, and it's source code is generally speaking accessible. This has inspired people to create custom minecraft servers for various reasons such as security, consistent API, customizability, etc. Each of these custom servers has it's own separate install, and configuration procedures.

vanilla

See FreeBSD10 enderman.

http://how-to.cc/minecraft-multi-world-server-setup-using-the-vanilla-server

craftbukkit

craftbukkit was created for security, and to provide an API for mods. It was requested that it be taken down (DMCA request), but it is still generally available unofficially online.

permissions

example of permissions file, with default group and 2x groups.

#### /usr/local/craftbukkit/permissions.yml
default: Guest
groups:
  Guest
    permissions:
    - bukkit.build
    - bPermissions.*
    - bPermissions.reload
    groups:
    meta:
  Moderator:
    permissions:
    - bPermissions.reload
    - bukkit.*
    - ^bukkit.op
    - ^bukkit.ban
    - ^bukkit.unban
    groups:                            ## groups can inherit permissions from other groups by using the groups key
    - Guest
    meta:


gamepad setup

linux

packer -S minecraft

## gamepad
packer -S qjoypad				## bind gamepad to keyboard
packer -S joystick 			## jscal works to configure joysticks, may not be necessary

### Note that there is also an xf86-ipnut-joystick package.
### It maps the left joystick to the mouse, and binds other keys
### for pc functionality. I don't really like this behavior, I would
### rather configure it myself with qjoypad.

jscal /dev/input/js0 -c		## configure joystick

qjoypad --notray				## start qjoypad onscreen
~/.qjoypad/layout				## either in GUI or this file, choose minecraft.lyt

minecraft						## Run and enjoy, works well in xmonad :)