Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds creative control plugin to prevent creative users from abusing #419

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Adds creative control plugin to prevent creative users from abusing #419

wants to merge 4 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Aug 2, 2018

Adds a demo version of my creative control plugin with a config suited for SpigotCraft.

Blocks PvP and using monster spawn eggs but does not block dropping/picking up items, opening chests,or etcetera. Also blocks the placing of all ore blocks so creative players do not leave them scattered everywhere.

Also has an inventory management feature, which stores a player's survival inventory when they enter creative mode, then restores when they re-enter survival. Pretty useful in case a survival player wants to just swiftly fix something in creative.

Source available at https://github.com/Remco/CreativeControl in case you'd like to review. It was more of a rushed project but I wouldn't say it's poorly written.

## Enable / disable what blocks you are allowed to break.
block-break-blacklist:
enabled: true
### Should be the numeral IDs for blocks. Use this for reference: http://minecraft-ids.grahamedgecombe.com/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

your config also has an issue here, I am sure you mean material name. the list you linked doesn't even support 1.13 names, here is an updated one https://www.digminecraft.com/lists/item_id_list_pc.php

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right. I was porting this from an old repository and just updating it to 1.13 so I really forgot to move all the configuration stuff. Will solve.

@MiniDigger
Copy link
Contributor

what if I want to build smth with diamond blocks, in my protected claim?
what if I want to spawn a few mobs to test smth?

I don't think that this should be added

@ghost
Copy link
Author

ghost commented Aug 2, 2018

latest PR allows placing of all blocks + replaced the material name linked with the one minidigger gave. will also do this in the repository.

@hYdos
Copy link

hYdos commented Aug 30, 2019

but say there is a new mob feature, how would you test it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants