Private
#1
Update from 2016.09.02 rev.1

Version: 2016090201

Other players can't create new area into exists. New area can't intersect exists area.

It is written for a quick hand and needed some optimizations and features Smile

[UA] Якщо потрібно, можу створити опис на рідній мові.
[RU] Если необходимо - могу сделать описание на русском.

Some exists features:
- Create area
- List areas
- Limit user areas count
- Limit user area size
- All limits - per world
- Config save into sqlite DB
- Permission rules
- Add players to area (2016.01.02)
- Synonym to "classic" /wand (2016.01.02)
- Turn on/off protect from take damage in private area via config.ini file. (20160901)

Commands:
/private - list all commands
/private list - list exists areas
/private mark - begin area select
/private save [name] - save selected area
/private del <name> - delete area
/private cancel - cancel private action
/private pl <add | del> <player name> <private name> - add player to area (private)

How to use
1. /private mark
2. Left click on first point
3. Move to second point and right click
4. /private save

How to add player to area:
/private pl add PlayerName PrivateName

How to delete player to area:
/private pl del PlayerName PrivateName

How to show block owner (info):
/private info on - you can't destroy block on click
/private info off - disable block info status

Permissions:
private.core - access to /private command
private.mark - mark area operation
private.save - save area

Protect player from take damage
- Configure optin set in config.ini file. If file does not exists it will ceated in firs run.
- You can turn on or turn off the option. If option DemageProtect set in true - protect activated. Any other value - protect deactivated. After change value you needed to restart plugin.

To do:
- Add translations (multilanguage support)
- Create console commands to manage config
- Create console commands to manage DB
- Create game command for moderators or admins to config
- Create game command for moderators or admins to manage DB
- Allow/deny owner of area add users as "guests"
- Allow/deny owner of area add users as owners

Future:
- Your suggestions

Source:
bitbucket.org (git)
Download (zip)
I'm sorry for bad English.
Reply
Thanks given by:
#2
I think this description could use a bit more details. What does a "real private are" mean, exactly? How to create them, exactly? What's the difference from the built-in ProtectionAreas plugin?
Reply
Thanks given by:
#3
(09-06-2015, 06:11 PM)xoft Wrote: What's the difference from the built-in ProtectionAreas plugin?
- Any other player can't create inner or outer private area.
- Configure per user and Default config for all
- Configure per World

(09-06-2015, 06:11 PM)xoft Wrote: What does a "real private are" mean, exactly?
So, I'm delete it is string.
I'm sorry for bad English.
Reply
Thanks given by:
#4
The best plugin for private.

So, can you make TNT protection too?
Reply
Thanks given by:
#5
Boo, I'm use my plugin to disable TNT explosions.
I'm sorry for bad English.
Reply
Thanks given by:
#6
Some peoples ask me for the plugin. After some time, I'm upload updated version.
Current version is 2016.01.02
I'm sorry for bad English.
Reply
Thanks given by:
#7
Top plugin, thank you!!
Reply
Thanks given by:
#8
Увидел, что ты знаешь русский, пишу на нем. Решил собрать сервер и такая проблема у меня, когда твой плагин ставлю у меня блокируюся удары по игрокам/существам. Вывод консоли:

Log: [21:56:47] Private: Error. check_block_access2() -> private_db:prepare( SELECT id
FROM area
WHERE world = :world AND
((x1 <= :x1 AND z1 >= :z1) AND (x3 >= :x1 AND z3 <= :z1))
;
)

Подскажи как исправить.

Edit by NiLSPACE:
Quick translation from Google translate:
Code:
I saw what you know Russian, writing on it. I decided to collect server and a problem with me, when your plugin put my blocks it by the players / creatures. Display console:
Reply
Thanks given by:
#9
(07-27-2016, 05:03 AM)KaZaaM4iK Wrote: Увидел, что ты знаешь русский, пишу на нем. Решил собрать сервер и такая проблема у меня, когда твой плагин ставлю у меня блокируюся удары по игрокам/существам...
Приветствую. Да, действительно, удары заблокированы и т.д. Сейчас лето и до осени я не смогу вносить изменения в код. Так что если есть желание и возможность напиши как пожелание на домашней страничке плагина, чтобы я добавил как флаг конфигурации. Изначально, приват подразумевал, что никто не может драться в зоне привата.
I'm sorry for bad English.
Reply
Thanks given by:
#10
Не думал, что встречу тут русскоязычных.

Этот плагин очень полезный для моего сервера, благодаря ему я и поднял сервер. Но этот баг...

Ждем обновления
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)