Jump to content

ffriozi

Member
  • Posts

    18
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

ffriozi's Achievements

Apprentice

Apprentice (3/15)

  • Reacting Well
  • Collaborator
  • One Year In
  • First Post
  • Conversation Starter

Recent Badges

3

Reputation

  1. ffriozi

    /rules force

    H Hello, I ended up making some crude modifications, but the result was close to what I expected. In this case, I created a /rulesagain command that displays the rules panel again without checking if the player has already read it before. I'll share the code in case you want to implement it and improve it. Thank you! // after ShowRules private void ShowRulesAlways(BasePlayer player) { if (!_storedData.PlayersData.TryGetValue(player.UserIDString, out var playerData) || (!_config.EveryTime && playerData.LastAgree > _lastUpdate)) ; DestroyPanel(player); CuiHelper.AddUi(player, _cached_MainPanel); CuiHelper.AddUi(player, _cached_PanelSubElements .Replace(Placeholders_TitleText, lang.GetMessage("PanelTitle", this, player.UserIDString)) .Replace(Placeholders_TitleSubText, string.Format(lang.GetMessage("PanelLastUpdate", this, player.UserIDString), lang.GetMessage(_lastUpdate.ToString("MMMM"), this, player.UserIDString), _lastUpdate.Day, _lastUpdate.Year)) .Replace(Placeholders_DeclineBtnText, $"{lang.GetMessage("BtnDecline", this, player.UserIDString)}{(_config.RejectionsToBan > 0 ? string.Format($"({_config.RejectionsToBan - playerData.Declines})") : string.Empty)}") .Replace(Placeholders_AcceptBtnText, lang.GetMessage("BtnAccept", this, player.UserIDString))); _awaitingPlayers.Add(player.UserIDString, null); if (_awaitingPlayers.Count == 1) DrawContent(player, playerData); } //AddCovalenceCommand private void Init() { AddCovalenceCommand("rulesagain", nameof(RulesShowAlways_Command)); // Novo comando } // commands section private void RulesShowAlways_Command(IPlayer player, string command, string[] args) { if (player.Object is BasePlayer basePlayer) { ShowRulesAlways(basePlayer); player.Reply("Regras sendo exibidas."); } }
  2. ffriozi

    MyStatistics

    Thank you for the reply; I'm researching before purchasing this plugin. I currently use the PlaytimeTracker plugin (https://umod.org/plugins/playtime-tracker) to get the total in-game playtime of players, and I wouldn't want to lose this data. I'm willing to create a tool to "convert" all the playtimes from the old plugin to this plugin, could you give me an example of how the player information is saved in the data file? I'm really interested in this plugin, but I need this information to avoid future issues. Also... Is it possible to restrict so that the player only sees their own information? I understand there is an option to not SEARCH for other players, but is there an option to show only their own stats without displaying the overall ranking? My community has this specific rule where it was decided that players cannot know the status of others. This would be more for players to know only their own stats, nothing more. example only showing this: Thanks !
  3. ffriozi

    MyStatistics

    Hello, its possible to restrict the player to search other players stats? i dont want the player to track others... also how the timeplayed is stored? unix?
  4. Fixed thanks !
  5. ~~ duplicated ~~
  6. The bar appears and disappears normally when i enter one of my buildings, but when I enter the safe zone and leave it, the bar continues to be shown.
  7. ffriozi

    /wipe add broken

    Hello, its all working here. /wipe add "2024-11-07 19:00" worked fine.
  8. ffriozi

    /rules force

    Hello, its possible to force the rules again for a specific player? thanks for the plugin.
  9. Hello, is there any possibility for this script to send a command to BetterChat when a player reaches a certain rank? For example, if they reach the top 1, they could be included in a BetterChat group. Thank you.
  10. ffriozi

    TrueWelcomer

    hello, its possible to make those messages private to the player only?
  11. ffriozi

    Changing Keys

    How should i know the button codes? where i can find all the codes? this is not clear at all
  12. ffriozi

    CustomLoot not working

    indeed i already have the file botconclave.json (already configured) the ploblem is that the BotSpawn plugin its not using the file even after i set up "DataProfiles": { "teste": { "AutoSpawn": true, "Murderer": false, "Day_Time_Spawn_Amount": 4, "BotHealth": 100, "Corpse_Duration": 60, "Kit": [ "Primitivo" ], "BotNamePrefix": "", "BotNames": [ "" ], "Bot_Accuracy_Percent": 40, "Bot_Damage_Percent": 40, "Disable_Radio": true, "Roam_Range": 40, "Peace_Keeper": true, "Attacks_Other_Profiles": false, "Peace_Keeper_Cool_Down": 5, "Weapon_Drop_Percent": 60, "Min_Weapon_Drop_Condition_Percent": 50, "Max_Weapon_Drop_Condition_Percent": 100, "Keep_Default_Loadout": false, "Wipe_Belt_Percent": 100, "Wipe_Clothing_Percent": 100, "Allow_Rust_Loot_Percent": 0, "Suicide_Timer": 300, "Chute": false, "Aggro_Range": 30, "DeAggro_Range": 40, "Announce_Spawn": false, "Announcement_Text": "", "Running_Speed_Boost": 0.0, "Spawn_Hackable_Death_Crate_Percent": 0, "Death_Crate_CustomLoot_Profile": "botconclave", "Death_Crate_LockDuration": 600, "AlwaysUseLights": false, "Die_Instantly_From_Headshot": false, "Instant_Death_From_Headshot_Allowed_Weapons": [], "Stationary": false, "Radius": 100, "Night_Time_Spawn_Amount": 1, "UseCustomSpawns": true, "ChangeCustomSpawnOnDeath": false, "Respawn_Timer": 2, "Location": { "x": -1738.249, "y": 2.0864985, "z": -1252.94214 }, "Parent_Monument": "" } }, "MigrationDataDoNotEdit": { "teste": { "ParentMonument": { "x": 0.0, "y": 0.0, "z": 0.0 }, "Offset": { "x": 0.0, "y": 0.0, "z": 0.0 } } } } under default-CustomProfiles.json located at oxide\data\BotSpawn Edit#1: i tried to set the "BanditTown" as Profile but nothing changes, still default loot. oxide\config\CustomLoot.json oxide\data\BotSpawn\default-CustomProfiles.json i already have the plugin CustomLoot working fine with the bots on the monuments.. only custom ones are having this problem. EDIT#2: I was looking in the wrong place. now everything works fine thank you
  13. ffriozi

    CustomLoot not working

    So i add this 'botconclave' to new type of Corpse in CustomLoot.json?
  14. ffriozi

    CustomLoot not working

    Hey guys, i already use the CustomLoot plugin for other thing and for some reason the loot table dont change to what i set it. this profile is located at \oxide\data\CustomLoot i already tried with the extension .json and still not changing. any ideas? Thanks !
1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.4k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.