Fields of Zen

Please login or register.

Login with username, password and session length
Advanced search  

News:

Author Topic: Color Portals killje Edition!  (Read 67 times)

killje

  • Veterans
  • Newbie
  • *
  • Posts: 123
    • View Profile
Color Portals killje Edition!
« on: August 31, 2013, 06:46:38 AM »

legal things
we have upgraded our color portals by a version i made.
before i go in how they work and how you create one first a few legal things:
the original mod is made by SnowGears, you can view the ColorPortals plugin here.
his version has as license: All Rights Reserved this means that full credit goes to him and i can't make money of this version, also i cant give you access to the source code or the modified plugin. so no you can't have this plugin on your own server.


Description:
A way to get from one place to another in a easy fashion


Plugin Info
Orginal link: http://dev.bukkit.org/bukkit-plugins/color-portals/
version: V2.2.
Works on: 1.7.4.


Permissions:
Visitor - Use
Recent - Use
Experienced - Use, Create, Destroy
Veteran - Use, Create, Destroy


Commands
none


information:
first the reason why we moved on from the old plugin (the next few lines are going to be technical).
the old plugin relied on a way to save files called serializable. this saves data in a code not readable by humans but can be easily read by java. its a very handy system if you dont have time to code your own saving protocol. the downside is that if you add anything extra to save (like in one version it only saves the location and in the next version the location and world) it will break the old save file and this has happened. that's why the portals broke all the time. I now made a plugin that saves it to our own mysql data base. this is handy because i can read it and if i want to add something i don't have to be afraid that it will break.


Usage
How to create a portal.
4 wool or stained clay of the same color
2 buttons (wood or stone)
2 signs.

[gallery]







[/gallery]
#1
Create a frame using ANYTHING you want! :) Make sure that it has two wool or two stained clay of the same color in it.
#2 and #3
Add a button 1st then a sign to the colored blocks.
For the sign:
Name of the current location on the first line
Channel Number on the second
If it worked you'll see either the word "Inactive" if it's the only sign or it will link to the second sign on the same channel and color.
#4 and #5
This is the minimal amount of wool or stained clay you need to make a portal, two blocks for each portal.
#6
There can be any number of air blocks between the button and the sign block above it, there MUST be at least one air block under the button.
#7 and #8
The sign can be on any side of the block above the button!
#9
If one of the portal signs is broken the other sign will say "Destroyed" replacing the broken sign, or making a new portal will re-link the Destroyed one.


if you have any suggestions leave a response.


Videos
None


In the future:
now come some features i want to add in the future to this plugin:
1. claiming of channels.
2. admin able to set group specific portals. - hacked in feature not totaly implemented, need to create a command ingame to set it!
3. teleporting mobs
« Last Edit: February 06, 2014, 01:06:28 PM by killje »
Logged

killje

  • Veterans
  • Newbie
  • *
  • Posts: 123
    • View Profile
Re: Color Portals killje Edition!
« Reply #1 on: February 06, 2014, 01:06:13 PM »

changelog v2.1 - v2.2:
in the MYSQL database it is now possible to set a restriction. when this restriction is set players need to have colorportal.use.<restriction name> bevore they can use the portal.
Logged

killje

  • Veterans
  • Newbie
  • *
  • Posts: 123
    • View Profile
Re: Color Portals killje Edition!
« Reply #2 on: August 12, 2014, 03:25:56 PM »

i have a new version ready for mc 1.7.10. but it is not tested since we only have one database and cant be tested untill we have the new server. If this plugin has bugs it can delay our migration time by a few hours.

no data will be lost so don't worry about that. All testing will occur on cloned data and not on the current one.
Logged