Jump to content

5 Screenshots

  • 1.1m
  • 15k
  • 139.21 kB

Recommended Comments



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 🙂

Link to comment
Share on other sites
  • Administrator

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

  • Love 1
Link to comment
Share on other sites
  • Administrator

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!

Link to comment
Share on other sites

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 🙂

Link to comment
Share on other sites



// 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.

 

Link to comment
Share on other sites
  • Administrator

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.

Link to comment
Share on other sites

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...

Link to comment
Share on other sites

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?)

Link to comment
Share on other sites
  • Administrator

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
Link to comment
Share on other sites

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

Link to comment
Share on other sites
  • Administrator

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites
  • Administrator

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
Link to comment
Share on other sites

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

Link to comment
Share on other sites
  • Administrator

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

Link to comment
Share on other sites
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
Link to comment
Share on other sites

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
Link to comment
Share on other sites
  • Administrator

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.

 

Link to comment
Share on other sites

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.3m

Downloads

Total number of downloads.

6.5k

Customers

Total customers served.

96.5k

Files Sold

Total number of files sold.

1.9m

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.