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

Region Flags/Flag Editing - Issue + Suggestion #76

Open
Aerodog opened this issue Mar 11, 2013 · 2 comments
Open

Region Flags/Flag Editing - Issue + Suggestion #76

Aerodog opened this issue Mar 11, 2013 · 2 comments
Assignees
Milestone

Comments

@Aerodog
Copy link

Aerodog commented Mar 11, 2013

Until now, I've been lazy and have just resorted to changing the 0's to 1's in all the flag fields within the database file for my regions in which I do not want any special restrictions, but I am making more and more regions and the task is becoming overwhelming.

  1. What is the correct syntax for the creation command (with flags)?
    "/vregion create spoon -50 -100 75 150 -phy:t -fs:t -ld:t" etc.? I've never had much success with the flags. Slightly confusing.
  2. The edit command is weird and broken. "/vregion edit spoon" returns "Successfully edited region!" while "/vregion edit spoon -phy:t" returns nothing.
  3. Suggestions (begging and pleading):
  • On region creation, do not allow specific flags to be set to true. Instead, allow a simple, concrete "-flags" argument to be appended which disallows ALL flags when included (sets all values to 0). If it's not appended, all flags remain set to true (sets all values to 1), thus allowed. Additionally, when the default global regions are created, all flags should be allowed because that is least destructive and does not change gameplay.
  • Use the edit argument to change flag states and make it much more simple to set a series of flags to certain values. For example, "/vregion edit spoon phy,fs,ld,bg true" will allow those flags (set values to 1) whereas "/vregion edit spoon phy,fs,ld,bg false" will disallow those flags (set values to 0).

As far as I'm concerned, the region module in VG is far better than WorldGuard.

Issue Edits:

  1. I forgot to mention banned items/blocks. "/vregion edit spoon bb 1,20,41,56" could be one way of dealing with the flag.
@nristock
Copy link

To 1 and 2: you seem to use the correct syntax. I'll check the code later today... maybe there is a parsing issue.

To 3: I like your idea of simplifying it. Instead of just setting the world region to hard coded settings we can put in custom default settings.
I really like your ideas of the flag change syntax. However, doing it this way requires a lot more heavy parsing. I gonna think about some other ideas that are easier to implement. ...I also thought about an external tool to change the persistence DB using a GUI.

@TheCryoknight
Copy link

I'm not completely sure on region editing, but I know for a fact that flags work on region creation.

TheCryoknight added a commit that referenced this issue Mar 12, 2013
…t to fix some in issue #75

* Fix edit subcommand in RegionCommand and improve help for said command from #76
@ghost ghost assigned nristock Dec 5, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants