PrivateWorlds

2.8k Downloads

PrivateWorlds is a new and unique plugin which allows for players to have their own private worlds which friends can be invited to.

Commands


  • /privateworlds - Shows you the help menu
  • /privateworlds create [WorldName] - Creates a private world.
  • /privateworlds list - Shows you all of the worlds you own.
  • /privateworlds tp [WorldName] - Teleports you to the private world that you have entered.
  • /privateworlds tpi <worldname> <playername> - Teleports you to a world you have been invited to.
  • /privateworlds invite <playername> <worldname> [timelength] - Invites a player to a world that you own.
  • /privateworlds listinv - Shows you all the worlds you have been invited to.
  • /privateworlds removeaccess <username> <worldname> - Removes an invited players access to a world you own.


Permissions


  • privateworlds.* - Gives access to all of the PrivateWorlds permissions.
  • privateworlds.world.create - Allows a player to create a PrivateWorld.
  • privateworlds.world.tp - Allows a player to teleport to a PrivateWorld they own.
  • privateworlds.world.tpi - Allows a player to teleport to a PrivateWorld they have been invited to.
  • privateworlds.list - Allows a player to see what PrivateWorlds they own.
  • privateworlds.listinv - Gives access so that a player can see all of the PrivateWorlds they have been invited to.
  • privateworlds.world.invite - Allows a person to invite another player to a PrivateWorld they own.
  • privateworlds.world.removeaccess - Allows an owner of a world to remove an invited players access.


Config file

After running the plugin a config file will be generated. Edit this config file and add in your MySQL user details for the plugin to operate then restart the server (do not reload it when doing this) to apply these changes.

Here is what the default config file looks like:

#Currently only supports mysql
DatabaseType: mysql
DatabaseInfo:
    hostname: ''
    port: '3306'
    dbname: ''
    table_prefix: 'PW_'
    username: ''
    password: ''

#Do not change this value! It could lead to the corruption of data if you change it.
ConfigFileVersion: 1


To-do list (in no order of priority)


  • Permissions [Version 1.1]
  • World borders
  • Limit the number of worlds a player can create (group based, with specific user override?)
  • Possibly add economy support
  • Player invite system to worlds [Version 1.1]
  • Visitor mode for worlds
  • Default world that the private worlds are created from
  • SQLite


Plugin Metrics

This plugin uses plugin metrics which sends back statistics to mcstats.org for our usage. You may opt-out of this by editing the file plugins/Plugin Metrics/config.yml and changing the value of opt-out to true.


Github

Making this plugin open source allows everyone to contribute to it if they wish so. Furthermore, you will be able to use it to report bugs and request features, thus here is the link to the projects github page: Click Here!