PrivateWorlds
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!
Hello my name is Vanya
Dear Owner of the PrivateWorlds plugin
I have been using this plugin for one day already trying to set it up for people who play my server. I have just announced to everyone that they can have private worlds to play on. However I ran into an issue on my server: When I type /pw create {My world Name} for example VanyaTown it gives me an console error
Error is:
28.01 21:46:40 [Server] INFO The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
Is there a fix for it? If so please fix it as soon as possible
Thank you so much!
Love your plugin
Vanya!
In reply to vanyamorales:
Only reason im replying is because i got an email notification :P
Sorry,
In reply to Forge_User_79042432:
@Adissaric
Not currently, I will add this to my to-do list.
Is the a way to delete old worlds?
can you please make a 1.7.2 version?
Hey guys! anyone running a server with this plugin, I'd really love to experience it, before I start using it!
@Starstrucker
Hey,
Going to be working on this soon but I am trying to evenly manage the time spent on all my projects at the moment. Furthermore, I should be adding a feature to limit the amount of worlds a user can have in the next version.
Jpnock
Hi, thanks for this very nice plugin :-)
Please favo the limit of worlds for a player and the world borders, and it would be nice if world borders are managed by groups.
ThxXx
@theillegalproject
Hi, I believe the plugin works on that minecraft version (no reason it shouldn't) Anymore problems, please reply.
we need 1.7.10
A newer version has been pushed for approval!
Jpnock
Edit: Version 1.1.0 is now out, make sure to read the release notes before updating!
Been busy over the last week or so but I should be uploading an updated version soon. This will include an invite command and the ability to teleport to worlds you have been invited to. Furthermore, I may add permissions.
More features will be coming soon!
Jpnock
@KevinABC96
@Liger_XT5
Hey, I am currently the author and lead dev on this project. So far I have SQLite planned as another storage method although, I may add flat-file but personally I believe it is not really needed as everyone should be able to use SQLite if they don't have a MySQL database.
Regarding the config file, I have updated the main information page with an example of what the config looks like; it should be pretty self explanatory.
When I was making the plugin I was thinking about adding economy support but as I wanted to get this alpha version out and get ideas from people. How would you suggest that this works: a one off fee or on a per month/week basis you are charged?
Permissions are being developed, I have the framework for them but I have not got around to implementing and testing this feature yet but they will be implemented very soon.
Originally I was thinking about making it so that you, as a player, could enter a world seed but there are probably certain seeds where players would get an advantage over others etc. Furthermore, I will look into that standard world feature; I believe it should be possible and this could actually then help reduce server lag when creating a world.
Ways to limit the number of worlds a player can have has been designed but not implemented in this release, I am still a bit unsure on how I want this functionality to work as at the moment I am thinking you could setup groups in the config to each have a max number of worlds but then have an override on this per player basis.
The permissions like configuration for visitors etc also sounds like a good idea although if I was to do this it may be in a later build unless a lot of people wanted it. My current plan for a world based config would be in the database to cut down on excess not needed files.
If you have any other feature that you may want, be sure to comment and I will consider adding it.
Thanks,
Jpnock
@KevinABC96
@Liger_XT5
Thanks for your suggestions. Il try and answer them below. The naming of the world is the following pw_<uuid of the player>_their custom name
We will implement flat file storage and mysqlite but most servers should have MySQL.
World borders is a feature we are already working on.
For a command to TP back to the main world, most people have. /spawn or /home. But we could implement a /back feature.
For the visitor suggestion, we are already working on a system where you can invite a player to your world for a period of time.
The plugin does work with multiworld but you need to load the world into multiworld so you can use multi world features etc. We will be making this automatic.
Thanks for all your suggestions but remember this is a brand new plugin in alpha, that means lots more features to come and your suggestions are a big help. We will be posting a link to our GitHub if any of you want to contribute ideas your self.
I've been looking for an automated plugin, though mind if I suggest a few future additions?
1. A command to teleport back to the main world, or at least spawn a portal at the new world to return to main world.
2. A way to limit the number of worlds a player can have.
3. A way to allow unique world generations, such as using server ran world generators.
4. Permissions?
5. After a player is invited to a world, a way to set them as a visitor who can only use stuff, such as buttons, pressure plates, doors, trip-wires, etc, or a player who can edit the world. I can easily set this up with a scripting plugin and permissions, but I could see this as a popular feature.
6. Not entirely sure how much of a pain this would be, but a way to limit the size of the world. If anything, this could be held off until MC 1.8 comes out with customizable world borders.