Rejected Worlddata get_config add most values (>100 new ones)

MKich

Member
Reaction score
6
My Idea is to add most of the currently available server config variables to /interface.php?func=get_config

From the full list of config variables I already removed everything that
  • is already part of the get_config data
  • I deem as unsave to add (e.g. config of internal tools)
I also wrote a short description of each variable. This is not really intended as documentation since that only tells you what you can see with some variable, but not what the different values mean
dominance_win -> status
I wrote that this contains the current status of win condition. You might figure out that this can contain the values 0, 1, 2, 5, 6

So what does each value mean and why is there an gap? (if you are just using the data you most likely won't even know that there is a gap)
0 = tribes can't win yet because early game condition has not been met
5 = early game condition met but no tribe is strong enought to trigger the warning
1 = players have been warned about an strong tribe
6 = a tribe fulfills the dominace requirement and has to hold the villages for holding_period_days
2 = a tribe has won

Everything in the maybe section could be made public, but that data is not really interesting. If it doesn't change the amount of work that has to be done in order to implement this idea you can add that otherwiese just don't.

The following list might contain errors if you spot some don't hesitate to point them out

  • premium:
    • free_Premium: enable free prem account
    • free_Premium_intervals: interval when free prem account will be awarded
    • AccountManager: active on that world?
    • AccountManager_Premium_needed: prem account needed for acc manager
    • free_AccountManager: give away free account manager
    • free_AccountManager_intervals: village amount for free account manager
    • BuildTimeReduction: enable build time reduction
    • BuildTimeReduction_percentage: reduction percentage
    • BuildInstant: Instant building active
    • BuildInstant_free: Free option of instant building enabled (at 180sec)
    • BuildCostReduction: Build cost reduction active
    • FarmAssistent: Farm assistant active
    • MerchantBonus: Merchant bonus active
    • ProductionBonus: Production bonus active
    • NoblemanSlot: Purchasing of nobleman slots active
    • MerchantExchange: Activate exchange merchant for prem points
    • MerchantExchange_ratio: The ratio of the premium merchant
    • PremiumExchange: Trading premium points for resources allowed
    • KnightBookImprove: Reroll at higher tier
    • KnightBookReroll: Reroll at same tier
    • KnightRespec: Reset all skills of paladin
    • KnightRecruitTime: Recruit quicker using premium
    • KnightRecruitInstant: Recruit instant using premium
    • KnightReviveTime: Revive quicker
    • KnightReviveInstant: Revive instant
    • KnightTrainingCost: Reduce resource cost of training a paladin
    • KnightTrainingTime: Reduce time of training a paladin
    • KnightTrainingInstant: Instant finish training
    • DailyBonusUnlock: Unlock missed daily boni
    • ScavengingSquadLoot: Increase scavenging resources
  • accountmanager:
    • villages_to_enable: how many till it can be bought
    • max_trading_routes:
    • village_queue_size: how many buildings will be build till reset needed
    • max_template_num: how many templates are allowed (sum of 3 system templates + custom ones)
  • awards:
    • available:
    • milestones_available:
    • AwardDailyKillsAttacker_lead_time: Time till that award is available (same for all below)
    • AwardDailyKillsDefender_lead_time:
    • AwardDailyKillsSupporter_lead_time:
    • AwardDailyLootResources_lead_time:
    • AwardDailyScavengeResources_lead_time:
    • AwardDailyLootVillages_lead_time:
    • AwardDailyVillageCount_lead_time:
    • AwardHighscoreCont_lead_time:
    • AwardHighscoreGlobal_lead_time:
  • rules:
    • no_push: Whether resources on market can be sent to everybody / only tribemates / nobody
    • market_ratio_min: The allowed ratio for offers on the market
    • market_ratio_max: The allowed ratio for offers on the market
    • ext_market_restrictions_type: Enforce sending limit based on disabled / first player start date / player start date
    • ext_market_restrictions_ally: Time till sending is allowed withing ally
    • ext_market_restrictions_free: Time till sending everywhere is allowed
    • sitter_restrict: What restrictions should be envorced after perma sitting rule is active
    • sitter_restrict_time: How long til perma sitting is active
    • sitter_restrict_period: Duration that will be checked for perma sitting
  • commands:
    • attack_gap: Minimum gap between attacks
    • support_gap: Minimum gap between supports
    • additional_time: Arrival time randomizer
  • game:
    • scavenging: Scavenging active?
  • flags:
    • enabled:
    • progress_disabled_time: Disable getting flags aber x time
  • milita:
    • enabled:
    • milita_count:
    • milita_max:
    • max_villages:
    • milita_duration:
    • milita_malus:
  • ally:
    • no_join: Joining is disabled
  • politicalmap:
    • enable:
  • ref:
    • active: Inviting possible
    • near_ref_spawn: Spawning near player that invited
  • mood:
    • loss_max: Max loss by a single nobleman
    • loss_min: Min loss by a single nobleman
    • load: Increase rate of loyalty
  • points_villages_win:
    • points: Amount of points needed for win
    • villages: Amount of villages needed for win
    • hours: Amount of hours the condition has to be met
  • dominance_win:
    • status: Current status of win condition
    • domination_warning: When to issue a warning that dominace will be reached soon
    • world_age_warning: When to issue a warning that the world is soon getting old enought
    • domination_endgame: % dominace that has to be reached
    • wold_age_endgame: world age that has to be reached
    • holding_period_days: how long that dominace must be reached
  • runes_win:
    • spawning_delay: Days till runes spawn
    • spawn_villages_per_continent: how many per continent
    • win_percentage: Required dominace when holding rune villages
    • hold_time: How long must they be held for
    • disable_morale: Disable morale for rune villages
  • siege_win:
    • villages: How many villages should spawn in the center city
    • required_points: How many points are needed in order to win
    • check_days: Days between point reductions
    • minimum_world_age: Minimum world age for reductions to start
    • reduction_percentage: Percentage of reduction
    • reduction_max_percentage: Maximum progress of a tribe prior to stopping reducing points
    • disable_morale: Disable morale for siege villages
  • casual:
    • attack_block: Wether casual ranges are active
    • attack_block_max: Max ratio of casual ranges
    • block_noble: Block nobling of player start village
    • disabled_restart_deadline: If restart=disabled delete players without villages after x hours
    • automation_version: Version of the casual system
    • automation_start_after: How long should it take for the increasing of ranges to start
    • automation_change_interval: How long between each step
  • enlightenment_win:
    • number_villages: Number of university villages to spawn
    • days_start: Number of days beginner protection is active for university
    • disable_morale: Disable morale when attacking university villages
  • mentoring:
    • enabled: Mentour system active?
  • reward_system:
    • percentage: Percentage used for reward
    • min_wood: min / max used for reward (and below)
    • min_stone:
    • min_iron:
    • max_wood:
    • max_stone:
    • max_iron:
    • start_wood: starting values given to new villages
    • start_stone:
    • start_iron:
  • peace: Information about peace periods on the server (TW birthday / holidays / new year)
  • url: ally / player / village file url
  • dominance_win:
    • dominace_reached_at: timestamp when dominace had been reached
    • victory_reached_at: timestamp when the victory had been claimed
  • casual:
    • transfer_to: For normal worlds name of the casual world that players will be transfered to

If you think that some variables should not be public feel free to comment.

Also a quick not to JawJaw or whoever is checking this. If you think that some variable should not be in this list just remove it. If there is anything to discuss I am going to check that thread at least once per week (will save the link so that I can access it even if it is not visible to everyone)
 

MKich

Member
Reaction score
6
I just looked through all the variables and found out that the documentation I was using to check whether an variable is already part of world data is outdated

The following two are already part of the worlddata and should not be added:
game->scavenging
ally->no_join

Without those I am down to just 115 new Variables ( + 13 potential ones)
 
Top