Kars's Recent Activity

  1. Kars replied to the thread Sorted Tablist and Player Specific Scoreboard at the same Time.

    Isn't scoreboard displayed in the tablist? I might be wrong.

    Aug 22, 2019 at 4:28 AM
  2. Kars replied to the thread Hello again!.

    So catch PrepareItemCraftEvent and set result to air if it does not conform to your recipe.

    Aug 22, 2019 at 1:17 AM
  3. Kars replied to the thread Disable block dropping through WorldGuard flags.

    It wouldn't be code heavy. Have range of coordinates for every player that represents their claim. Upon block break event, cancel the...

    Aug 21, 2019 at 7:35 AM
  4. Kars replied to the thread Hello again!.

    Catch PlayerInteractEvent and if the interacted block is a sponge, call player.openWorkbench.

    Aug 21, 2019 at 6:53 AM
  5. Kars replied to the thread Remove world folder.

    @bennie3211 that is exactly what i mean yes. @KarimAKL whatever works. Make sure you use a native Java scheduler. Schedule the task...

    Aug 21, 2019 at 4:26 AM
  6. Kars replied to the thread ShapedRecipe#setIngredient.

    @tlm920 don't bank on it. I have done some experiments with PrepareItemCraftEvent in the past, and using GetMatrix on the...

    Aug 21, 2019 at 4:24 AM
  7. Kars replied to the thread ShapedRecipe#setIngredient.

    That is not possible using ShapedRecipe. It is possible to do this with PrepareCraftEvent, but creating custom recipes this way makes...

    Aug 20, 2019 at 2:43 PM
  8. Kars replied to the thread Sql Json.

    So are you asking how json works? Google it?

    Aug 18, 2019 at 12:24 PM
  9. Kars replied to the thread Number of blocks mined in the last thirty minutes.

    I don't get this part. You are intending to keep an object in memory for every block mined by every player and you're saying this is not...

    Aug 18, 2019 at 8:44 AM
  10. Kars replied to the thread Posting plugin with multiple game versions..

    Upload them normally, but upload the most recent version last. Then link to the files page in the description and make sure you have...

    Aug 18, 2019 at 7:24 AM
  11. Kars replied to the thread Number of blocks mined in the last thirty minutes.

    If you are worried about resource intensivity, you could update the global score every minute and keep the realtime block count as is....

    Aug 18, 2019 at 4:09 AM
  12. Kars replied to the thread MySQL pooling?.

    It is quite simple. You open a connection for each user and use it to query. When the session ends you close the connection. Normally...

    Aug 17, 2019 at 12:11 PM
  13. Kars replied to the thread JSON conversion.

    @The_Spaceman you are what us developers call "reinventing the wheel". This is not good practice. All JSON converters contain string...

    Aug 17, 2019 at 12:02 PM