Improve overall structure #5
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: KnarCraft/PaidSigns#5
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A better structure would be to make the id into something that the player uses to identify the paid sign. The actual text to match would be specified in a "condition". A paid sign can have one condition for each line on the sign (#2). The required permission (#4) would be specified when creating the paid sign.
I'm not sure if case and color sensitivity should be specified for the condition or for the paid sign. Perhaps both.
Need to make matching just use a .matches method. One method that checks for if a sign matches a paid sign's conditions, one method that's used to see if two paid signs have identical conditions, and one to notify about similarities.
Fixed