Jump to content

5 Screenshots

Recommended Comments



JimmyFalcone

Posted

Hi, I just started trying to use this plugin, but the top 1 and top 30 leaderboards are empty.
Inside "My Stats" for both player and clan, it displays your stats correctly, but with Top 1 and Top 30, they're both empty for players and clans.

I've made sure it's setup correctly from the comments on the previous post about this ^ but can't get it working for the Top 1 and Top 30.

Players don't have the exclude permission, top 1 and top 30 are enabled inside the admin section of the plugin, and everything in CategorySettings is enabled.

I would really appreciate some help with this because I can't seem to get it working.

Thank you 🙂

  • Administrator
Steenamaroo

Posted

Hi @JimmyFalcone
Any chance you're testing as admin with allowadmin set to false?

JimmyFalcone

Posted

I feel like a complete idiot now, but yes that was the problem. Thank you so much @Steenamaroo!

  • Like 1
  • Administrator
Steenamaroo

Posted

No trouble. I'm glad it was something simple.
Don't hesitate to let me know if you have any other issues. 👍

  • Love 1
RustyB

Posted

Hey @Steenamaroo

Is there any chance you could update the SQL connection to be compatible with MySQL 8, please?

  • Administrator
Steenamaroo

Posted

I'm not sure that's within my control.
That's probably down to whatever libraries oxide are using, no?

If you think that's wrong, do let me know!

RustyB

Posted

I couldn't say, I'm not familiar enough to understand how it works, I'm just able to see it works with older version of MySQL and not the new ones haha 🙂 

I understand what you mean though

Thanks for answering 🙂

Papa Bear

Posted



// config/json file

{
  "Maximal Titles": 4,
  "Maximal Characters Per Message": 128,
  "Reverse Title Order": false
}


// data/json file
"GroupName": "Moderator",
    "Priority": 1,
    "Title": {
      "Text": "[Moderator]",
      "Color": "Red",
      "Size": 15,
      "Hidden": false,
      "HiddenIfNotPrimary": false
    },
    "Username": {
      "Color": "Red",
      "Size": 15
    },
    "Message": {
      "Color": "#ff6b6b",
      "Size": 15
    },
    "Format": {
      "Chat": "{Title} {Username}: {Message}",
      "Console": "{Title} {Username}: {Message}"
    }

My Players only show up to Two Ranks.  Even though it's set to 4.  But, in Betterchat, I have their Rankings called GROUPNAME which is their current Ranking, weather it's assigned by me via better chat, or by Player Rankings when they hit their hours.

 

  • Administrator
Steenamaroo

Posted

Hi,
Not sure if it was just a typo or not, but Player Rankings is a different plugin.
This is PlayerRanks.

 

Regardless, I think BetterChat treats the entire set of titles from PlayerRanks as one.
If you want to limit the number of PlayerRanks titles which are shown, you'd need to do that in PlayerRanks config, rather than BetterChat's.

Evil_Orko

Posted

any way we can get raid bases added to this?  I'd love to have this setup with rewards for most easy bases, medium, etc. Looks like they are already being tracked with /rb ladder and /rb lifetime.  At least the overall amount is...

RustyB

Posted

Hey Steenamaroo,

I have 2 questions.
Would it be possible to have resource stats per type?  Like the amount of stone gathered, amount of metal, sulfur, wook, hqm?

And , please, would it be possible to create 2 databases:
- One that can be wiped with map change
- A second one that doesn't wipe with map change and accumulates across wipes

From what I understand, currently, it's one or the other (unless I've missed something?)

  • Administrator
Steenamaroo

Posted

Hi,
It's unlikely these would be added to the current PlayerRanks but I had been working on a rewrite of it which does expand on resources farmed/gathered by type, as well as introducing some other new categories.

I could add a function that saves the SQL database with a unique name (date+time in it) when auto-wipe happens.
That shouldn't be too tricky.

  • Like 1
RustyB

Posted

Oh I'm so impatient for that rewrite, I love your plugin!

Regarding the unique name, wouldn't that create a new database for each wipe?
I'd love to be able to display the stats for the current wipe (like I'm doing now) but also an "all time" stats page from a database that accumulate the data and doesn't get wiped.
Basically one database with "WipeOnNewMap": true and one database with "WipeOnNewMap": false

  • Administrator
Steenamaroo

Posted

Oh, I see. I misunderstood.
I'll have a think about that. 👍

dale2

Posted

Is there a way to show the Amin Stats on leaderboards? I have tried everything from allowadmin to true etc. I can see my own stats and I guess players  can look them up but they do not show up on the leaderboard. Any suggestions? Thanks

Mbesailor

Posted

Morning, not sure if i am doing something wrong or this could be an error. I notced in the top 30 some players will have how much economics they have and other will have just 0. When I look at the data file, I noticed some show how much and other will have Null next to it. Any reason why those would have null.

  • Administrator
Steenamaroo

Posted

Hi,
Thanks for pointing that out.
Looks like I missed a few fixes from the Saturday fiasco.

This won't affect actual Economics/Server Rewards balances - Just the PR reporting of it.

I'll do an update soon to rectify it.

  • Like 3
TuxGeek

Posted

I am getting this error with the latest update July 8th 2024 on a carbon server that is using the latest version of carbon

Failed to call internal hook 'OnRocketLaunched' on plugin 'PlayerRanks v2.3.1' [658881068] (Object reference not set to an instance of an object)
   at void Oxide.Plugins.PlayerRanks.Plus(BasePlayer player, string category, int intScore) in /home/container/carbon/plugins/PlayerRanks.cs:line 1272
   at void Oxide.Plugins.PlayerRanks.OnRocketLaunched(BasePlayer player) in /home/container/carbon/plugins/PlayerRanks.cs:line 929
   at object Oxide.Plugins.PlayerRanks.InternalCallHook(uint hook, object[] args) in PlayerRanks.cs/Internal:line 742

  • Administrator
Steenamaroo

Posted

Is your config or data file borked?
Reload the plugin and watch console to confirm. 👍

KayKay

Posted

On 6/21/2024 at 4:02 AM, Steenamaroo said:

Hi,
It's unlikely these would be added to the current PlayerRanks but I had been working on a rewrite of it which does expand on resources farmed/gathered by type, as well as introducing some other new categories.

I could add a function that saves the SQL database with a unique name (date+time in it) when auto-wipe happens.
That shouldn't be too tricky.

Most amount of electric items deployed - Electrician title please 😛

  • Like 1
MrRemorse

Posted (edited)

Any idea what would make the Player name and title report backwards on the lost title to.

 

**** Edit **** Adding the Better Chat Dependency fixed it.  Helps to read

Edited by MrRemorse
  • Administrator
Steenamaroo

Posted

I think the {0} and {1}, name placeholders, were backwards in the PlayerRanks lang file but, if I recall, I've since corrected that.
The problem is that lang files only update for new entries - not amendments, so any users who had the plugin before that fix would need to switch those around in the lang file themselves.

 

HunterZ

Posted (edited)

FYI, "Structures Upgraded" doesn't work on Carbon because the Carbon's support for the `OnStructureUpgrade()` hook is currently broken. I filed a bug here: https://discord.com/channels/1013291619765723196/1291239356597669938

In the meantime, adding a `d` to the end works:

void OnStructureUpgraded(BaseCombatEntity entity, BasePlayer player, BuildingGrade.Enum grade) => Plus(player, "StructuresUpgraded", 1);

Edit: This is no longer an issue.

Edited by HunterZ
HunterZ

Posted

On 8/3/2024 at 3:18 AM, Steenamaroo said:

I think the {0} and {1}, name placeholders, were backwards in the PlayerRanks lang file but, if I recall, I've since corrected that.
The problem is that lang files only update for new entries - not amendments, so any users who had the plugin before that fix would need to switch those around in the lang file themselves.

 

You have not corrected it. Details in a support thread here: https://codefling.com/files/support/16464-player-name-and-title-swapped-in-title-lost-messages/

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Like 14
  • Love 8

User Feedback

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

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.