Index
All Classes and Interfaces|All Packages
S
- SAME_NATION - Enum constant in enum class net.chen.legacyLand.nation.transaction.NationTradeManager.TradeResult
- saveChunkResource(ChunkResourceData) - Method in class net.chen.legacyLand.database.DatabaseManager
- saveChunkResource(ChunkResourceData) - Method in interface net.chen.legacyLand.database.IDatabase
-
保存或更新区块储量数据(upsert)。
- saveChunkResource(ChunkResourceData) - Method in class net.chen.legacyLand.database.MongoDatabase
-
Deprecated.
- saveChunkResource(ChunkResourceData) - Method in class net.chen.legacyLand.database.MySQLDatabase
- saveChunkResource(ChunkResourceData) - Method in class net.chen.legacyLand.database.SQLiteDatabase
- saveConfig() - Method in class net.chen.legacyLand.LegacyLand
- saveCreditScore(String, double) - Method in class net.chen.legacyLand.economy.TreasuryManager
-
更新信用评分(并持久化)
- saveDefaultConfig() - Method in class net.chen.legacyLand.LegacyLand
- saveDiplomacyRelation(DiplomacyRelation) - Method in class net.chen.legacyLand.database.DatabaseManager
- saveDiplomacyRelation(DiplomacyRelation) - Method in interface net.chen.legacyLand.database.IDatabase
- saveDiplomacyRelation(DiplomacyRelation) - Method in class net.chen.legacyLand.database.MongoDatabase
-
Deprecated.
- saveDiplomacyRelation(DiplomacyRelation) - Method in class net.chen.legacyLand.database.MySQLDatabase
- saveDiplomacyRelation(DiplomacyRelation) - Method in class net.chen.legacyLand.database.SQLiteDatabase
- saveFlagWar(FlagWarData) - Method in class net.chen.legacyLand.database.DatabaseManager
- saveFlagWar(FlagWarData) - Method in interface net.chen.legacyLand.database.IDatabase
- saveFlagWar(FlagWarData) - Method in class net.chen.legacyLand.database.MongoDatabase
-
Deprecated.
- saveFlagWar(FlagWarData) - Method in class net.chen.legacyLand.database.MySQLDatabase
- saveFlagWar(FlagWarData) - Method in class net.chen.legacyLand.database.SQLiteDatabase
- saveGuaranteeRelation(GuaranteeRelation) - Method in class net.chen.legacyLand.database.DatabaseManager
- saveGuaranteeRelation(GuaranteeRelation) - Method in interface net.chen.legacyLand.database.IDatabase
-
保存保卫关系
- saveGuaranteeRelation(GuaranteeRelation) - Method in class net.chen.legacyLand.database.MongoDatabase
-
Deprecated.
- saveGuaranteeRelation(GuaranteeRelation) - Method in class net.chen.legacyLand.database.MySQLDatabase
- saveGuaranteeRelation(GuaranteeRelation) - Method in class net.chen.legacyLand.database.SQLiteDatabase
- saveMarket(Market) - Method in class net.chen.legacyLand.database.DatabaseManager
- saveMarket(Market) - Method in interface net.chen.legacyLand.database.IDatabase
-
保存市场数据
- saveMarket(Market) - Method in class net.chen.legacyLand.database.MongoDatabase
-
Deprecated.
- saveMarket(Market) - Method in class net.chen.legacyLand.database.MySQLDatabase
- saveMarket(Market) - Method in class net.chen.legacyLand.database.SQLiteDatabase
- saveMarketChest(MarketChest) - Method in class net.chen.legacyLand.database.DatabaseManager
- saveMarketChest(MarketChest) - Method in interface net.chen.legacyLand.database.IDatabase
-
保存市场箱子数据
- saveMarketChest(MarketChest) - Method in class net.chen.legacyLand.database.MongoDatabase
-
Deprecated.
- saveMarketChest(MarketChest) - Method in class net.chen.legacyLand.database.MySQLDatabase
- saveMarketChest(MarketChest) - Method in class net.chen.legacyLand.database.SQLiteDatabase
- saveNationGovernment(String, GovernmentType) - Method in class net.chen.legacyLand.database.DatabaseManager
- saveNationGovernment(String, GovernmentType) - Method in interface net.chen.legacyLand.database.IDatabase
- saveNationGovernment(String, GovernmentType) - Method in class net.chen.legacyLand.database.MongoDatabase
-
Deprecated.
- saveNationGovernment(String, GovernmentType) - Method in class net.chen.legacyLand.database.MySQLDatabase
- saveNationGovernment(String, GovernmentType) - Method in class net.chen.legacyLand.database.SQLiteDatabase
- saveNationPoliticalSystem(String, String) - Method in class net.chen.legacyLand.database.DatabaseManager
- saveNationPoliticalSystem(String, String) - Method in interface net.chen.legacyLand.database.IDatabase
-
保存国家政治体制(配置驱动)
- saveNationPoliticalSystem(String, String) - Method in class net.chen.legacyLand.database.MongoDatabase
-
Deprecated.
- saveNationPoliticalSystem(String, String) - Method in class net.chen.legacyLand.database.MySQLDatabase
- saveNationPoliticalSystem(String, String) - Method in class net.chen.legacyLand.database.SQLiteDatabase
- savePlayerAchievement(UUID, String) - Method in class net.chen.legacyLand.database.DatabaseManager
- savePlayerAchievement(UUID, String) - Method in interface net.chen.legacyLand.database.IDatabase
- savePlayerAchievement(UUID, String) - Method in class net.chen.legacyLand.database.MongoDatabase
-
Deprecated.
- savePlayerAchievement(UUID, String) - Method in class net.chen.legacyLand.database.MySQLDatabase
- savePlayerAchievement(UUID, String) - Method in class net.chen.legacyLand.database.SQLiteDatabase
- savePlayerData(UUID) - Method in class net.chen.legacyLand.player.PlayerManager
-
保存玩家数据
- savePlayerData(PlayerData) - Method in class net.chen.legacyLand.database.DatabaseManager
- savePlayerData(PlayerData) - Method in interface net.chen.legacyLand.database.IDatabase
- savePlayerData(PlayerData) - Method in class net.chen.legacyLand.database.MongoDatabase
-
Deprecated.
- savePlayerData(PlayerData) - Method in class net.chen.legacyLand.database.MySQLDatabase
- savePlayerData(PlayerData) - Method in class net.chen.legacyLand.database.SQLiteDatabase
- savePlayerRole(String, UUID, NationRole) - Method in class net.chen.legacyLand.database.DatabaseManager
- savePlayerRole(String, UUID, NationRole) - Method in interface net.chen.legacyLand.database.IDatabase
- savePlayerRole(String, UUID, NationRole) - Method in class net.chen.legacyLand.database.MongoDatabase
-
Deprecated.
- savePlayerRole(String, UUID, NationRole) - Method in class net.chen.legacyLand.database.MySQLDatabase
- savePlayerRole(String, UUID, NationRole) - Method in class net.chen.legacyLand.database.SQLiteDatabase
- saveResource(String, boolean) - Method in class net.chen.legacyLand.LegacyLand
- saveSeasonData(String, int, int) - Method in class net.chen.legacyLand.database.DatabaseManager
- saveSeasonData(String, int, int) - Method in interface net.chen.legacyLand.database.IDatabase
- saveSeasonData(String, int, int) - Method in class net.chen.legacyLand.database.MongoDatabase
-
Deprecated.
- saveSeasonData(String, int, int) - Method in class net.chen.legacyLand.database.MySQLDatabase
- saveSeasonData(String, int, int) - Method in class net.chen.legacyLand.database.SQLiteDatabase
- saveSiegeWar(Map) - Method in class net.chen.legacyLand.database.DatabaseManager
- saveSiegeWar(Map) - Method in interface net.chen.legacyLand.database.IDatabase
- saveSiegeWar(Map) - Method in class net.chen.legacyLand.database.MongoDatabase
-
Deprecated.
- saveSiegeWar(Map) - Method in class net.chen.legacyLand.database.MySQLDatabase
- saveSiegeWar(Map) - Method in class net.chen.legacyLand.database.SQLiteDatabase
- saveWar(War) - Method in class net.chen.legacyLand.database.DatabaseManager
- saveWar(War) - Method in interface net.chen.legacyLand.database.IDatabase
- saveWar(War) - Method in class net.chen.legacyLand.database.MongoDatabase
-
Deprecated.
- saveWar(War) - Method in class net.chen.legacyLand.database.MySQLDatabase
- saveWar(War) - Method in class net.chen.legacyLand.database.SQLiteDatabase
- saveWarData(String, Map) - Method in class net.chen.legacyLand.database.DatabaseManager
- saveWarData(String, Map) - Method in interface net.chen.legacyLand.database.IDatabase
- saveWarData(String, Map) - Method in class net.chen.legacyLand.database.MongoDatabase
-
Deprecated.
- saveWarData(String, Map) - Method in class net.chen.legacyLand.database.MySQLDatabase
- saveWarData(String, Map) - Method in class net.chen.legacyLand.database.SQLiteDatabase
- saveWarParticipant(String, UUID, String) - Method in class net.chen.legacyLand.database.DatabaseManager
- saveWarParticipant(String, UUID, String) - Method in interface net.chen.legacyLand.database.IDatabase
- saveWarParticipant(String, UUID, String) - Method in class net.chen.legacyLand.database.MongoDatabase
-
Deprecated.
- saveWarParticipant(String, UUID, String) - Method in class net.chen.legacyLand.database.MySQLDatabase
- saveWarParticipant(String, UUID, String) - Method in class net.chen.legacyLand.database.SQLiteDatabase
- scanIfAbsent(Chunk) - Method in class net.chen.legacyLand.resource.pricing.ChunkResourceManager
-
在区块加载事件触发时调用: 1) 查缓存 / DB,命中则缓存返回; 2) 未命中则提交虚拟线程异步扫描。
- SCOUT - Enum constant in enum class net.chen.legacyLand.war.WarRole
-
侦查员 - 建立前哨战
- Season - Enum Class in net.chen.legacyLand.season
-
季节枚举类 定义四季及其子季节
- Season.SeasonType - Enum Class in net.chen.legacyLand.season
-
季节类型枚举
- SeasonCommand - Class in net.chen.legacyLand.season
-
季节命令处理器 /season info - 查看当前季节信息 /season set <季节> - 设置季节(需要权限) /season config <天数> - 设置每个子季节持续天数(需要权限)
- SeasonCommand(LegacyLand, SeasonManager) - Constructor for class net.chen.legacyLand.season.SeasonCommand
- SeasonManager - Class in net.chen.legacyLand.season
-
季节管理器 负责管理季节循环、进度和天气效果
- SeasonManager(JavaPlugin) - Constructor for class net.chen.legacyLand.season.SeasonManager
- send(CommandSender) - Method in class net.chen.legacyLand.util.Translatable
- sendComponentMessage(CommandSender, String) - Static method in class net.chen.legacyLand.util.Chat
- sendConsoleColorfulMessage(Color, String) - Static method in class net.chen.legacyLand.util.Chat
- sendGlobalMessage(String) - Static method in class net.chen.legacyLand.util.Chat
- SeparatorElement - Class in net.chen.legacyLand.gui.elements
-
分隔符元素 - 视觉分隔,不可交互
- SeparatorElement(String) - Constructor for class net.chen.legacyLand.gui.elements.SeparatorElement
- SeparatorElement(String, Material) - Constructor for class net.chen.legacyLand.gui.elements.SeparatorElement
- SET_GOODS_PRICE - Enum constant in enum class net.chen.legacyLand.organization.OrganizationPermission
- SET_GOODS_QUANTITY - Enum constant in enum class net.chen.legacyLand.organization.OrganizationPermission
- SET_GOODS_TYPE - Enum constant in enum class net.chen.legacyLand.organization.OrganizationPermission
- setClosed(boolean) - Method in class net.chen.legacyLand.nation.law.LawProposal
- setDaysPerSubSeason(int) - Method in class net.chen.legacyLand.season.SeasonManager
-
设置每个子季节的持续天数
- setGovernmentType(String, GovernmentType) - Method in class net.chen.legacyLand.nation.NationManager
-
设置国家政体
- setMainProfession(UUID, Profession) - Method in class net.chen.legacyLand.player.PlayerManager
-
设置主职业
- setMemberPermission(Organization, UUID, OrganizationPermission, boolean) - Method in class net.chen.legacyLand.organization.OrganizationManager
-
设置成员权限
- setMemberRole(Organization, UUID, OrganizationRole) - Method in class net.chen.legacyLand.organization.OrganizationManager
-
设置成员角色
- setNationPlotTax(String, double) - Method in class net.chen.legacyLand.economy.tax.TaxManager
- setNationTradeTax(String, double) - Method in class net.chen.legacyLand.economy.tax.TaxManager
- setOutpost(Outpost) - Method in class net.chen.legacyLand.war.siege.SiegeWar
-
设置前哨战
- setPendingChest(UUID, String) - Method in class net.chen.legacyLand.market.MarketManager
-
玩家点击箱子时记录目标箱子
- setPlayerRole(String, UUID, NationRole) - Method in class net.chen.legacyLand.nation.NationManager
-
设置玩家角色
- setPoliticalSystem(String, String) - Method in class net.chen.legacyLand.nation.NationManager
-
设置国家政治体制
- setPrice(Player, double) - Method in class net.chen.legacyLand.market.MarketManager
-
执行定价:将玩家手持物品与箱子绑定并设置价格
- setRelation(String, String, RelationType) - Method in class net.chen.legacyLand.nation.diplomacy.DiplomacyManager
-
设置外交关系
- setSeason(Season) - Method in class net.chen.legacyLand.season.SeasonManager
-
手动设置季节
- setSeasonBaseTemperature(String) - Method in class net.chen.legacyLand.player.status.TemperatureManager
-
设置季节基础温度
- setShown(UUID, String, boolean) - Method in class net.chen.legacyLand.resource.pricing.LandPriceManager
- setSlot(int) - Method in class net.chen.legacyLand.gui.elements.ButtonElement
- setSlot(int) - Method in class net.chen.legacyLand.gui.elements.DropdownElement
- setSlot(int) - Method in class net.chen.legacyLand.gui.elements.LabelElement
- setSlot(int) - Method in class net.chen.legacyLand.gui.elements.ListElement
- setSlot(int) - Method in class net.chen.legacyLand.gui.elements.MultiSelectElement
- setSlot(int) - Method in class net.chen.legacyLand.gui.elements.NumberInputElement
- setSlot(int) - Method in class net.chen.legacyLand.gui.elements.SeparatorElement
- setSlot(int) - Method in class net.chen.legacyLand.gui.elements.SliderElement
- setSlot(int) - Method in class net.chen.legacyLand.gui.elements.TextInputElement
- setSlot(int) - Method in interface net.chen.legacyLand.gui.GuiElement
-
设置元素的槽位位置
- setSubProfession(UUID, Profession) - Method in class net.chen.legacyLand.player.PlayerManager
-
设置副职业
- setTreasury(String, Location) - Method in class net.chen.legacyLand.nation.NationManager
-
设置国家国库箱子位置
- setValue(Object) - Method in class net.chen.legacyLand.gui.elements.ButtonElement
- setValue(Object) - Method in class net.chen.legacyLand.gui.elements.DropdownElement
- setValue(Object) - Method in class net.chen.legacyLand.gui.elements.LabelElement
- setValue(Object) - Method in class net.chen.legacyLand.gui.elements.ListElement
- setValue(Object) - Method in class net.chen.legacyLand.gui.elements.MultiSelectElement
- setValue(Object) - Method in class net.chen.legacyLand.gui.elements.NumberInputElement
-
设置元素的值
- setValue(Object) - Method in class net.chen.legacyLand.gui.elements.SeparatorElement
- setValue(Object) - Method in class net.chen.legacyLand.gui.elements.SliderElement
- setValue(Object) - Method in class net.chen.legacyLand.gui.elements.TextInputElement
-
设置元素的值
- setValue(Object) - Method in class net.chen.legacyLand.gui.elements.ToggleElement
- setValue(Object) - Method in interface net.chen.legacyLand.gui.GuiElement
-
设置元素的值
- shouldDrop() - Method in record class net.chen.legacyLand.resource.BiomeResourceConfig.ResourceDrop
- showTransportCostPreview(Player, Location, Location) - Method in class net.chen.legacyLand.resource.ResourceSystemManager
-
显示运输成本预览(GUI 接口)
- shutdown() - Static method in class net.chen.legacyLand.Authorize
- shutdown() - Method in class net.chen.legacyLand.economy.tax.TaxManager
- SiegeCommand - Class in net.chen.legacyLand.war.commands
-
攻城战命令处理器
- SiegeCommand() - Constructor for class net.chen.legacyLand.war.commands.SiegeCommand
- SiegeCommand(boolean) - Constructor for class net.chen.legacyLand.war.commands.SiegeCommand
- SiegeWar - Class in net.chen.legacyLand.war.siege
-
攻城战数据模型
- SiegeWar(String, String, String, String) - Constructor for class net.chen.legacyLand.war.siege.SiegeWar
- SiegeWarManager - Class in net.chen.legacyLand.war.siege
-
攻城战管理器
- signTechAgreement(String, String) - Method in class net.chen.legacyLand.nation.diplomacy.DiplomacyManager
-
签订科技协议
- signTradeAgreement(String, String) - Method in class net.chen.legacyLand.nation.diplomacy.DiplomacyManager
-
签订贸易协议
- SliderElement - Class in net.chen.legacyLand.gui.elements
-
滑块元素 - 通过 +/- 按钮调节数值 占用三个连续槽位:[减号][当前值][加号]
- SliderElement(String, String, double, double) - Constructor for class net.chen.legacyLand.gui.elements.SliderElement
- SmeltingRecipe - Class in net.chen.legacyLand.resource.crafting
- SmeltingRecipe() - Constructor for class net.chen.legacyLand.resource.crafting.SmeltingRecipe
- SOCIALISM - Enum constant in enum class net.chen.legacyLand.nation.GovernmentType
-
社会主义
- SOLDIER - Enum constant in enum class net.chen.legacyLand.war.WarRole
-
战士 - 前线作战
- SOURCE_TREASURY_EMPTY - Enum constant in enum class net.chen.legacyLand.nation.transaction.NationTradeManager.TradeResult
- speed(double) - Method in class net.chen.legacyLand.item.attribute.ItemAttributes.Builder
- SpeedBoostEffect - Class in net.chen.legacyLand.nation.politics.effects
-
速度加成效果 - 为国家所有在线成员提供速度效果
- SpeedBoostEffect(int) - Constructor for class net.chen.legacyLand.nation.politics.effects.SpeedBoostEffect
- SPLINT - Enum constant in enum class net.chen.legacyLand.player.status.MedicalItemType
-
夹板 - 治疗骨折
- SPRING - Enum constant in enum class net.chen.legacyLand.season.Season.SeasonType
- SQLiteDatabase - Class in net.chen.legacyLand.database
-
SQLite 数据库实现
- SQLiteDatabase(LegacyLand) - Constructor for class net.chen.legacyLand.database.SQLiteDatabase
- SQUARE - Enum constant in enum class net.chen.legacyLand.nation.politics.effects.ParticleEffect.ParticlePattern
- STAR - Enum constant in enum class net.chen.legacyLand.nation.politics.effects.ParticleEffect.ParticlePattern
- start() - Method in class net.chen.legacyLand.season.SeasonManager
-
启动季节系统
- start() - Method in class net.chen.legacyLand.war.War
-
开始战争
- startClaim(Player, WorldCoord) - Method in class net.chen.legacyLand.nation.plot.PlotClaimManager
-
开始占领地块
- startParticleEffect(Player, String) - Method in class net.chen.legacyLand.nation.politics.effects.ParticleEffect
-
为玩家启动粒子效果
- startPriceSet(Player) - Method in class net.chen.legacyLand.market.MarketManager
-
开始设置价格流程:记录玩家等待状态
- startVote(Player, Town, String) - Method in class net.chen.legacyLand.war.civilwar.CivilWarManager
-
发起独立投票
- startWar(String) - Method in class net.chen.legacyLand.war.WarManager
-
开始战争
- STARVING - Enum constant in enum class net.chen.legacyLand.player.status.BodyStatus
-
饥饿状态 条件:饱食度低于5% BUFF:缓慢+10%,挖掘疲劳I
- StatusCommand - Class in net.chen.legacyLand.player.status
-
状态命令
- StatusCommand() - Constructor for class net.chen.legacyLand.player.status.StatusCommand
- StatusUpdateTask - Class in net.chen.legacyLand.player.status
-
状态更新任务 每5秒检查一次所有在线玩家的状态
- StatusUpdateTask() - Constructor for class net.chen.legacyLand.player.status.StatusUpdateTask
- step(double) - Method in class net.chen.legacyLand.gui.elements.SliderElement
- STONE_AGE - Enum constant in enum class net.chen.legacyLand.achievements.Achievements
- stop() - Method in class net.chen.legacyLand.season.SeasonManager
-
停止季节系统
- stopParticleEffect(String) - Method in class net.chen.legacyLand.nation.politics.effects.ParticleEffect
-
停止粒子效果
- stripClickTags(String) - Static method in class net.chen.legacyLand.util.LegacyComponents
- stripColors() - Method in class net.chen.legacyLand.util.Translatable
- stripColors(boolean) - Method in class net.chen.legacyLand.util.Translatable
- stripTags(String) - Static method in class net.chen.legacyLand.util.LegacyComponents
-
Strips all tags known to the default minimessage instance.
- stripTags(String, TagResolver...) - Static method in class net.chen.legacyLand.util.LegacyComponents
-
Strips the specified tags from the input
- submit(GuiSession) - Method in class net.chen.legacyLand.gui.GuiForm
-
提交表单
- submitInquiry(Player, String, int, int, String, long) - Method in class net.chen.legacyLand.resource.pricing.LandPriceManager
- submitVote(Player, boolean) - Method in class net.chen.legacyLand.war.civilwar.CivilWarManager
-
居民投票
- SUCCESS - Enum constant in enum class net.chen.legacyLand.market.MarketManager.MarketCreateResult
- SUCCESS - Enum constant in enum class net.chen.legacyLand.market.MarketManager.MarketDeleteResult
- SUCCESS - Enum constant in enum class net.chen.legacyLand.market.MarketManager.PriceSetResult
- SUCCESS - Enum constant in enum class net.chen.legacyLand.market.MarketManager.PurchaseResult
- SUCCESS - Enum constant in enum class net.chen.legacyLand.nation.law.LawManager.EnactResult
- SUCCESS - Enum constant in enum class net.chen.legacyLand.nation.law.LawManager.ProposeResult
- SUCCESS - Enum constant in enum class net.chen.legacyLand.nation.law.LawManager.VoteResult
- SUCCESS - Enum constant in enum class net.chen.legacyLand.nation.tech.TechManager.ResearchResult
- SUCCESS - Enum constant in enum class net.chen.legacyLand.nation.transaction.NationTradeManager.TradeResult
- SUCCESS - Enum constant in enum class net.chen.legacyLand.organization.OrganizationManager.OrganizationCreateResult
- SUCCESS - Enum constant in enum class net.chen.legacyLand.organization.OrganizationManager.OutpostCreateResult
- SUMMER - Enum constant in enum class net.chen.legacyLand.season.Season.SeasonType
- SupplyLine - Class in net.chen.legacyLand.war.siege
-
补给线
- SupplyLine(String, String, String) - Constructor for class net.chen.legacyLand.war.siege.SupplyLine
- SupplyStation - Class in net.chen.legacyLand.war.siege
-
补给站
- SupplyStation(String, String, Location, UUID) - Constructor for class net.chen.legacyLand.war.siege.SupplyStation
- SUPPORT - Enum constant in enum class net.chen.legacyLand.war.WarRole
-
支援部队
- surrender(String, boolean) - Method in class net.chen.legacyLand.war.WarManager
-
投降
- syncSeason(Season) - Method in class net.chen.legacyLand.season.integration.CustomCropsIntegration
-
同步季节到 CustomCrops 实际上只是更新内部状态,CustomCrops 会通过 SeasonProvider 读取
All Classes and Interfaces|All Packages