SevenSingsConfiguration.java 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. /*
  2. * Copyright © 2019 L2J Server
  3. *
  4. * This file is part of L2J Server.
  5. *
  6. * L2J Server is free software: you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation, either version 3 of the License, or
  9. * (at your option) any later version.
  10. *
  11. * L2J Server is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. * General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  18. */
  19. package com.l2jserver.gameserver.config;
  20. import static java.util.concurrent.TimeUnit.MINUTES;
  21. import static org.aeonbits.owner.Config.HotReloadType.ASYNC;
  22. import org.aeonbits.owner.Config;
  23. import org.aeonbits.owner.Config.HotReload;
  24. import org.aeonbits.owner.Config.Sources;
  25. import org.aeonbits.owner.Reloadable;
  26. /**
  27. * Seven Sings Configuration.
  28. * @author Zoey76
  29. * @version 2.6.1.0
  30. */
  31. @Sources({
  32. "file:./config/sevensings.properties",
  33. "classpath:config/sevensings.properties"
  34. })
  35. @HotReload(value = 20, unit = MINUTES, type = ASYNC)
  36. public interface SevenSingsConfiguration extends Config, Reloadable {
  37. @Key("RequireClanCastle")
  38. Boolean requireClanCastle();
  39. @Key("CastleForDawn")
  40. Boolean castleForDawn();
  41. @Key("CastleForDusk")
  42. Boolean castleForDusk();
  43. @Key("FestivalMinPlayer")
  44. Integer getFestivalMinPlayer();
  45. @Key("MaxPlayerContrib")
  46. Integer getMaxPlayerContrib();
  47. @Key("FestivalManagerStart")
  48. Integer getFestivalManagerStart();
  49. @Key("FestivalLength")
  50. Integer getFestivalLength();
  51. @Key("FestivalCycleLength")
  52. Integer getFestivalCycleLength();
  53. @Key("FestivalFirstSpawn")
  54. Integer getFestivalFirstSpawn();
  55. @Key("FestivalFirstSwarm")
  56. Integer getFestivalFirstSwarm();
  57. @Key("FestivalSecondSpawn")
  58. Integer getFestivalSecondSpawn();
  59. @Key("FestivalSecondSwarm")
  60. Integer getFestivalSecondSwarm();
  61. @Key("FestivalChestSpawn")
  62. Integer getFestivalChestSpawn();
  63. @Key("DawnGatesPdefMult")
  64. Double getDawnGatesPdefMult();
  65. @Key("DuskGatesPdefMult")
  66. Double getDuskGatesPdefMult();
  67. @Key("DawnGatesMdefMult")
  68. Double getDawnGatesMdefMult();
  69. @Key("DuskGatesMdefMult")
  70. Double getDuskGatesMdefMult();
  71. @Key("StrictSevenSigns")
  72. Boolean strictSevenSigns();
  73. @Key("SevenSignsLazyUpdate")
  74. Boolean sevenSignsLazyUpdate();
  75. @Key("SevenSignsDawnTicketQuantity")
  76. Integer getSevenSignsDawnTicketQuantity();
  77. @Key("SevenSignsDawnTicketPrice")
  78. Integer getSevenSignsDawnTicketPrice();
  79. @Key("SevenSignsDawnTicketBundle")
  80. Integer getSevenSignsDawnTicketBundle();
  81. @Key("SevenSignsManorsAgreementId")
  82. Integer getSevenSignsManorsAgreementId();
  83. @Key("SevenSignsJoinDawnFee")
  84. Integer getSevenSignsJoinDawnFee();
  85. }