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

Suggestion: Different cooldowns in town spawn travel #6224

Closed
Peskdt opened this issue Oct 12, 2022 · 2 comments · Fixed by #6225
Closed

Suggestion: Different cooldowns in town spawn travel #6224

Peskdt opened this issue Oct 12, 2022 · 2 comments · Fixed by #6225

Comments

@Peskdt
Copy link

Peskdt commented Oct 12, 2022

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

Set a separate cooldown setting for each spawn travel. Being something like
/t spawn (resident) cooldown
/t spawn (nation) cooldown
/t spawn (ally) cooldown
/t spawn (neutral) cooldown
And likewise for nations.
The idea is that each administrator can balance his server in terms of mobility (teleports) as he prefers.

@LlmDl
Copy link
Member

LlmDl commented Oct 12, 2022

And you're talking about the cooldown after they spawn, not the warmup before they spawn, correct?

@Peskdt
Copy link
Author

Peskdt commented Oct 12, 2022

Yes, cooldown.

LlmDl added a commit that referenced this issue Oct 12, 2022
  - Allow for all nation spawn and town spawn types to have individual
spawn cooldowns.
    - Closes #6224.
  - New Config Nodes:
    - global_town_settings.cooldowns.town_spawn_cooldown_time
      - Default: 30
      - Number of seconds that must pass before a player can use /t
spawn or /res spawn.
    - global_town_settings.cooldowns.outpost_cooldown_time
      - Default: 30
      - Number of seconds that must pass before a player can use /t
outpost.
    - global_town_settings.cooldowns.nation_member_town_spawn_cooldown_time",
      - Default: 30
      - Number of seconds that must pass before a player of the same
nation can use /t spawn.
    - global_town_settings.cooldowns.nation_ally_town_spawn_cooldown_time
      - Default: 30
      - Number of seconds that must pass before a player in an allied
nation can use /t spawn.
    - global_town_settings.cooldowns.unaffiliated_town_spawn_cooldown_time
      - Default: 30
      - Number of seconds that must pass before a player who is not a
member or ally of town can use /t spawn.
    - global_nation_settings.cooldowns.nation_member_nation_spawn_cooldown_time
      - Default: 30
      - Number of seconds that must pass before a player of the same
nation can use /n spawn.
    - global_nation_settings.cooldowns.nation_ally_nation_spawn_cooldown_time
      - Default: 30
      - Number of seconds that must pass before a player allied with the
nation can use /n spawn.
    - global_nation_settings.cooldowns.unaffiliated_nation_spawn_cooldown_time
      - Default: 30
      - Number of seconds that must pass before a player who is not a
member or ally can use /n spawn.

Initial commit, todo: ConfigNodes and populate the town/nationspawnlevel
Populate the ConfigNodes and make use of them.
@LlmDl LlmDl added this to the 0.98.4.0 milestone Oct 12, 2022
LlmDl added a commit that referenced this issue Oct 13, 2022
* Make spawn types' cooldowns separate and configurable.

  - Allow for all nation spawn and town spawn types to have individual
spawn cooldowns.
    - Closes #6224.
  - New Config Nodes:
    - global_town_settings.cooldowns.town_spawn_cooldown_time
      - Default: 30
      - Number of seconds that must pass before a player can use /t
spawn or /res spawn.
    - global_town_settings.cooldowns.outpost_cooldown_time
      - Default: 30
      - Number of seconds that must pass before a player can use /t
outpost.
    - global_town_settings.cooldowns.nation_member_town_spawn_cooldown_time",
      - Default: 30
      - Number of seconds that must pass before a player of the same
nation can use /t spawn.
    - global_town_settings.cooldowns.nation_ally_town_spawn_cooldown_time
      - Default: 30
      - Number of seconds that must pass before a player in an allied
nation can use /t spawn.
    - global_town_settings.cooldowns.unaffiliated_town_spawn_cooldown_time
      - Default: 30
      - Number of seconds that must pass before a player who is not a
member or ally of town can use /t spawn.
    - global_nation_settings.cooldowns.nation_member_nation_spawn_cooldown_time
      - Default: 30
      - Number of seconds that must pass before a player of the same
nation can use /n spawn.
    - global_nation_settings.cooldowns.nation_ally_nation_spawn_cooldown_time
      - Default: 30
      - Number of seconds that must pass before a player allied with the
nation can use /n spawn.
    - global_nation_settings.cooldowns.unaffiliated_nation_spawn_cooldown_time
      - Default: 30
      - Number of seconds that must pass before a player who is not a
member or ally can use /n spawn.

Initial commit, todo: ConfigNodes and populate the town/nationspawnlevel
Populate the ConfigNodes and make use of them.

* Add migrator and make changes requested by Warrior
LlmDl added a commit that referenced this issue Oct 13, 2022
  - Make unkickable ranks configurable, courtesy of Warriorrrr with
PR #6226.
  - New config option: global_town_settings.unkickable_ranks
    - Default value: assistant
    - List of ranks (separated by a comma) that will prevent a player
from being kicked from a town.
  - Use toLowerCase(Locale.ROOT) in TownySettings, courtesy of
Warriorrrr with PR #6227.
  - Hide tax component on status screens if taxes are off, courtesy of
Warriorrrr with PR #6221.
  - Change border smoke color based on affiliation, courtesy of
Warriorrrr with PR #6219.
  - Allow for all nation spawn and town spawn types to have individual
spawn cooldowns.
    - Your previous global_town_settings.spawn_cooldown_time setting
will be migrated to the new settings.
    - Closes #6224.
  - New Config Nodes:
    - global_town_settings.spawning_cooldowns.town_spawn_cooldown_time
      - Default: 30
      - Number of seconds that must pass before a player can use /t
spawn or /res spawn.
    - global_town_settings.spawning_cooldowns.outpost_cooldown_time
      - Default: 30
      - Number of seconds that must pass before a player can use /t
outpost.
    - global_town_settings.spawning_cooldowns.nation_member_town_spawn_cooldown_time
      - Default: 30
      - Number of seconds that must pass before a player of the same
nation can use /t spawn.
    - global_town_settings.spawning_cooldowns.nation_ally_town_spawn_cooldown_time
      - Default: 30
      - Number of seconds that must pass before a player in an allied
nation can use /t spawn.
    - global_town_settings.spawning_cooldowns.unaffiliated_town_spawn_cooldown_time
      - Default: 30
      - Number of seconds that must pass before a player who is not a
member or ally of town can use /t spawn.
    - global_nation_settings.spawning_cooldowns.nation_member_nation_spawn_cooldown_time
      - Default: 30
      - Number of seconds that must pass before a player of the same
nation can use /n spawn.
    - global_nation_settings.spawning_cooldowns.nation_ally_nation_spawn_cooldown_time
      - Default: 30
      - Number of seconds that must pass before a player allied with the
nation can use /n spawn.
    - global_nation_settings.spawning_cooldowns.unaffiliated_nation_spawn_cooldown_time
      - Default: 30
      - Number of seconds that must pass before a player who is not a
member or ally can use /n spawn.
  - Removed Config Option: global_town_settings.spawn_cooldown_time
@LlmDl LlmDl self-assigned this Dec 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants