Re: [SNAPSHOT][Java 8] Shoebill 1.0 - SA-MP Java Development Kit -
SetupDLL - 14.06.2014
How I can use a group of cmds for group of some players?
AW: [SNAPSHOT][Java 8] Shoebill 1.0 - SA-MP Java Development Kit -
123marvin123 - 16.06.2014
@SetupDLL: mk124 is making a @BeforeCheck Annotation for that, so please wait.
Re: [SNAPSHOT][Java 8] Shoebill 1.0 - SA-MP Java Development Kit -
grekon - 18.06.2014
What about gameworld limitations? SAMP have the limits here:
https://sampwiki.blast.hk/wiki/Limits
Because of this I have to use Streamer plugin:
https://sampforum.blast.hk/showthread.php?tid=102865
Will Java gamemode have the same limitaions about amout of objects on the map? If so, is there any way to stream the objects as in Streamer plugin?
Re: [SNAPSHOT][Java 8] Shoebill 1.0 - SA-MP Java Development Kit -
CoaPsyFactor - 18.06.2014
limits still apply, but you can code streamer inside gamemode in java.
Re: [SNAPSHOT][Java 8] Shoebill 1.0 - SA-MP Java Development Kit -
mk124 - 18.06.2014
Quote:
Originally Posted by grekon
|
Quote:
Originally Posted by CoaPsyFactor
limits still apply, but you can code streamer inside gamemode in java.
|
CoaPsyFactor's answer is right, and Shoebill 1.1 in future will support to use other sa-mp plugins included Streamer.
Re: [SNAPSHOT][Java 8] Shoebill 1.0 - SA-MP Java Development Kit -
mk124 - 20.06.2014
Quote:
Originally Posted by SetupDLL
How I can use a group of cmds for group of some players?
|
@BeforeCheck / @CustomCommand added.
Usage example:
https://github.com/Shoebill/example-...19ef24e33323d5
Code:
@BeforeCheck
public boolean checkPremission(Player p, String cmd, String params)
{
return p.isAdmin();
}
@CustomCommand
public boolean customHandler(Player p, String cmd, String params)
{
// If the command has been processed, return true
return false;
}
AW: [SNAPSHOT][Java 8] Shoebill 1.0 - SA-MP Java Development Kit -
NaS - 25.06.2014
Wow! This is so good!
Keep up the good work, I hope you'll continue this with newer SAMP versions too
Re: [SNAPSHOT][Java 8] Shoebill 1.0 - SA-MP Java Development Kit -
SetupDLL - 29.06.2014
I created VehicleManager (like a PlayerManager). There I have a repeated timer. When I try to register cmds in VehicleManager and connect to my server, timer stops. Without registering cmd it works. Is it a bug or I do smth wrong?
AW: [SNAPSHOT][Java 8] Shoebill 1.0 - SA-MP Java Development Kit -
123marvin123 - 29.06.2014
@SetupDLL: You need to declare your timer global, or else it will dispose.
Re: AW: [SNAPSHOT][Java 8] Shoebill 1.0 - SA-MP Java Development Kit -
SetupDLL - 02.07.2014
Thank you!
Re: [SNAPSHOT][Java 8] Shoebill 1.0 - SA-MP Java Development Kit -
SetupDLL - 07.07.2014
enableStuntBonusForAll(false) is not working for me. I can still get bonuses. On server without this plugin it works normal
AW: Re: [SNAPSHOT][Java 8] Shoebill 1.0 - SA-MP Java Development Kit -
123marvin123 - 07.07.2014
Quote:
Originally Posted by SetupDLL
enableStuntBonusForAll(false) is not working for me. I can still get bonuses. On server without this plugin it works normal
|
Can you give us the full code you used, please?
Re: AW: Re: [SNAPSHOT][Java 8] Shoebill 1.0 - SA-MP Java Development Kit -
SetupDLL - 08.07.2014
Quote:
Originally Posted by 123marvin123
Can you give us the full code you used, please?
|
You can watch code of example-lvdm, There is the same problem there.
AW: Re: AW: Re: [SNAPSHOT][Java 8] Shoebill 1.0 - SA-MP Java Development Kit -
123marvin123 - 08.07.2014
Quote:
Originally Posted by SetupDLL
You can watch code of example-lvdm, There is the same problem there.
|
Ok, I reported the bug to mk124, he will take a look at it.
Re: [SNAPSHOT][Java 8] Shoebill 1.0 - SA-MP Java Development Kit -
SetupDLL - 11.07.2014
Can I use GetVehicleModelInfo function? I cant find it in plugin.
AW: [SNAPSHOT][Java 8] Shoebill 1.0 - SA-MP Java Development Kit -
123marvin123 - 11.07.2014
@SetupDLL: Yes, there is: "getServer().getVehicleModelInfo"
Re: [SNAPSHOT][Java 8] Shoebill 1.0 - SA-MP Java Development Kit -
SetupDLL - 11.07.2014
@123marvin123: oh, thank you!
Re: [SNAPSHOT][Java 8] Shoebill 1.0 - SA-MP Java Development Kit -
stokdam - 22.07.2014
This api looks like the Bukkit one.
AW: [SNAPSHOT][Java 8] Shoebill 1.0 - SA-MP Java Development Kit -
123marvin123 - 22.07.2014
@stokdam: Maybe because they are both written in java.
Re: [SNAPSHOT][Java 8] Shoebill 1.0 - SA-MP Java Development Kit -
iFarbod - 23.07.2014
Nice for Java Lovers. +REP
OffTopic: I Hate Java.