Residence Creative
Very simple plugin adding creative mode to your Residences
Requires
Why the plugin
Sometime your friend want to build something, but he is tired of digging, you don't want him to give creative everywhere, you can give him creative only on his project. You can create residence, then set build and creative flags and disable container. Remember to let the owner of residence be you, so he can't change flags.
What does it do
It adds "creative" flag to Residence plugin, that you can add to your residence.
If you enter residence with creative flag, your survival inventory will be stored in memory (or files), cleared, you will get creative mode with blocked dropping of items.
It disable itself when someone is OP or have rescreative.ignore perm, to not change your gamemode every time you fly over other residences.
Configuration
- debug - display debug in console, default: false
- clearinv - enables clearing/restoring inventories from survival and creative
- usefiles - use files as survival inventory save - may have some game impact
Commands
- /rescreative - toggle console debug
Permissions
- rescreative.ignore - player with this permission will be ignored
- rescreative.toggledebug - access to /rescreative command
Future Idea
- Interact with permissions to block overusing creative.
How to install
Just drop the jar file in your plugins directory and restart your server.
How to use
Do not type any commands, do not set any permissions!
After install admin just type /res [residence name] creative true, and anyone who gets to that residence will be in creative mode.
Setting permission 'rescreative.ignore' or giving OP disables the plugin , that will not change game mode.
Optionally if you want your players to be able to set the flag by them self's or to be default on residence, check Residence config.
It only activate creative without flying, to fly you need Residence Fly
Best solution to create residence with subzones like this:
Source
Included in jar
Known Bugs
- Lots of overuse possibilities.
- People could still use orbs potion, probably you could blacklist it, if you know how, comment.
Suggestions
Do you like to change something?
Have some idea?
Comment :)
@XYKbear
... my plugin gives fly? O_o
or you use some external plugin?
did you use resfly?
Hello,your plugin is really good.But I still have some small problems.
Widely knows that player like flying when in creative mode.So when I use your plugin with residence,I can switch gamemode when I "walk" in/out the residence.But when I "fly" out the residence,gamemode changes but I can still fly outside the residence unless switch off fly mode as a OP.
So,can you add codes that also toggle off fly mode when a player leave a residence with creative flag?thx
@Vendettaelpro
If the items are found inventory is cleared on inventory close event, you can modify this list in config.yml, you can disable by making empty array []
hi! thanks for the plugin.
One question, how can use the Item banning?
PM me on EVERY even smallest possibility of cheating using this :) Thanks
New features:
- Blocking Chest while Creative
- Item banning - to prevent exp bottle use and blocks then destroying them.
http://dev.bukkit.org/server-mods/rescreative/files/5-v1-0/
This is more to be "set by admin" flags, i see lots of possibilities to exploit it when you allow it to players, so when you set +creative, set -container to that plot as well :)
Players in creative don't need to use containers ...
Create a ticket as enchantment so when i will get my free time i will try to add that function (to block interacting with signs and chest while creative) but better is to remove permissions from that player.
For now i lost lots of time because bukkit mods removed my project.
Does this prevent people placing items in chests? Say for example I have economy and dont want players to gain unlimited money by storing diamonds in a chest, inside their residence, then selling it to the shop.
Just wanted to make sure - thanks for the update. ;-)
@MoonPie2000
This plugin really doesn't not need to be updated every time, it's a very simply code, and it's working with 1.3.1!
But ok, i will add 1.3.1 to v0.2
If it doesn't work for you, describe why/paste debug logs.
Will there be an update for this plugin to CB 1.3.1 R20 or comming CB 1.3.2 anytime soon?
Create ticket, paste console log, it will speedup
Any chance of updating this plugin for 1.3.2??? this version throws bunch of errors.
@RasCas
Probably typo in plugin.yml
@nickless07
I didn't saw that comment, next time create a ticket.
It doesn't work for any player or some players? What plugins do you use? Do they change player display name?
Hm, just downloaded 0.2 , console says enabling rescreative v0.1 but it's working fine, is it just a typo?
08:08:57 [INFO] [rescreative] DEBUG: Flag Change: town.test creative TRUE
08:08:57 [INFO] [rescreative] DEBUG: Start delay
08:08:57 [INFO] [rescreative] DEBUG: Run delay
08:09:41 [INFO] [rescreative] DEBUG: Setting creative mode for Player
08:09:48 [INFO] [rescreative] DEBUG: Setting survival mode for Player
08:09:48 [INFO] [rescreative] DEBUG: Error while change to survival - Player
08:14:17 [INFO] [rescreative] DEBUG: Setting creative mode for Player
08:14:23 [INFO] [rescreative] DEBUG: Setting survival mode for Player
08:14:23 [INFO] [rescreative] DEBUG: Error while change to survival - Player
any Idea? It doesnt say anything more....
CraftBukkit version git-Bukkit-1.2.5-R5.0-b2262jnks
Residence version 2.6.4
Rescreative version 0.2
@sebastian2443
Thats a basic knowledge about Residence, "how to set a flag on residence using resadmin or allow player to set flags"
Thats right, i posted to use /res, but if you dont allow players to set that only admin can set it using /resadmin ... i will rewrite that later.
If you want to give someone creative you type: (from account that has res.admin permission):
/resadmin set SomeResidenceName creative true
or
/resadmin pset SomeResidenceName SomePlayerName creative true
So, nice Plugin i think but ...
How to install: Put the jar in your Plugins folder.
Ok, i have do it.
How to use: ...after install admin..
what??? How I install the admin?
Every time the console say, "/res ? for more info" if I type "/res [residence name] creative true"
No error message in the console.
please help :)
It doesn't say anything about Residence Creative, more info need - post ticket, not comments.
07.07 06:44:46 [Server] INFO at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) 07.07 06:44:46 [Server] INFO at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237) 07.07 06:44:46 [Server] INFO at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) 07.07 06:44:46 [Server] INFO at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237) 07.07 06:44:46 [Server] INFO at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) 07.07 06:44:46 [Server] INFO at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230) 07.07 06:44:46 [Server] INFO at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146) 07.07 06:44:46 [Server] INFO at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161) 07.07 06:44:46 [Server] INFO at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:563) 07.07 06:44:46 [Server] INFO at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:179) 07.07 06:44:46 [Server] INFO at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:305) 07.07 06:44:46 [Server] INFO at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:733) 07.07 06:44:46 [Server] INFO ^ 07.07 06:44:46 [Server] INFO creative: true 07.07 06:44:46 [Server] INFO in "<reader>", line 2359, column 21: 07.07 06:44:46 [Server] INFO mapping values are not allowed here 07.07 06:44:46 [Server] SEVERE null