Skip to content

Suggestion: Preference System #8167

Description

@GoodrichDev

Please explain your feature request to the best of your abilities:

I think Towny could benefit from a Preference System similar to the one I implemented in EarthPol but with some Towny adaptions to it.

  1. A Preference System tied to Resident, Town and Nation.
  2. Preferences can be boolean, ints, doubles, etc.
  3. Towny can register preferences and use them in checks
  4. Third-party addons can register preferences to towny and use them in their own checks.
  5. Preferences are persistent.
  6. Config options to disable certain Towny Registered preferences (perhaps take a playbook from the plot type configs).

Examples:
There exists /res toggle, one I often find myself using is /res toggle ignoreinvites, perhaps this can be moved to a preference and it can stay persistent

What does this solve?

  • Items like Suggestion: /T Leave (Remove Trust/Plot Perm) #7895, which could be resolved with a Town Preference such as /t pref removetrustonleave true
  • At a top down level, the server admin can setup how they want Towny to interact with their server but in addition, they can leave certain decisions to Residents, Town Mayors and Nation Leaders on how they want towny to interact with them.

What should be considered?

You might want to reconsider the whole res toggle system, it seems like t and n toggle is fine but res toggle is more of what preferences would take over in my opinion.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions