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

Sign refresh/verify commands #79

Closed
hitechwizard opened this issue Jun 3, 2015 · 5 comments
Closed

Sign refresh/verify commands #79

hitechwizard opened this issue Jun 3, 2015 · 5 comments

Comments

@hitechwizard
Copy link

When creating cells programmatically, it would be nice to have a command to refresh and verify all the signs.

Suggestion: /jail signs [verify|refresh] (cell_id)...(cell_id)

Verify Methodology: Iterate through all cells indicated (or all cells if none specified) and validate the blocks indicated by the config are actually signs, informing the player what cell/location is not a sign.

Refresh Methodology: Iterate through all cells indicated (or all cells if none specified) and reset the message that should be on the sign(s) for the specific cell (Empty Cell, or Prisoner time remaining)

@graywolf336
Copy link
Owner

👍 will try to add it this week sometime.

@graywolf336
Copy link
Owner

Since different jails can have cells with the same name, I'm going to require a jail name before providing the list of cells to verify or refresh.

@hitechwizard
Copy link
Author

Good catch.

@hitechwizard
Copy link
Author

Works awesome!
screen shot 2015-06-05 at 10 42 06 pm

@graywolf336
Copy link
Owner

👍 a few of the changes I made actually allow for programmatically refreshing the signs as well and also added the ability for saving changes made to a cell which will allow for editing cells after they have been created, which doesn't exist currently and would be nice to have.

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

2 participants