SA-MP Forums Archive
[Plugin] Shoebill 1.1 - SA-MP Java Development Kit - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Plugin Development (https://sampforum.blast.hk/forumdisplay.php?fid=18)
+--- Thread: [Plugin] Shoebill 1.1 - SA-MP Java Development Kit (/showthread.php?tid=397735)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37


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
View Post
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?
Quote:
Originally Posted by CoaPsyFactor
View Post
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
View Post
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
View Post
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
View Post
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
View Post
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.